1 // Copyright 2015 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_TEST_TEST_CONTENT_UTILITY_CLIENT_H_
6 #define EXTENSIONS_TEST_TEST_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 TestContentUtilityClient
: public content::ContentUtilityClient
{
15 TestContentUtilityClient();
16 ~TestContentUtilityClient() override
;
18 // ContentUtilityClient implementation
19 void UtilityThreadStarted() override
;
20 bool OnMessageReceived(const IPC::Message
& message
) override
;
23 UtilityHandler utility_handler_
;
26 } // namespace extensions
28 #endif // EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_