1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_SHELL_UTILITY_SHELL_CONTENT_UTILITY_CLIENT_H_
6 #define EXTENSIONS_SHELL_UTILITY_SHELL_CONTENT_UTILITY_CLIENT_H_
8 #include "content/public/utility/content_utility_client.h"
9 #include "extensions/utility/utility_handler.h"
11 namespace extensions
{
13 class ShellContentUtilityClient
: public content::ContentUtilityClient
{
15 ShellContentUtilityClient();
16 ~ShellContentUtilityClient() override
;
18 // content::ContentUtilityClient:
19 void UtilityThreadStarted() override
;
20 bool OnMessageReceived(const IPC::Message
& message
) override
;
23 UtilityHandler utility_handler_
;
26 } // namespace extensions
28 #endif // EXTENSIONS_SHELL_UTILITY_SHELL_CONTENT_UTILITY_CLIENT_H_