Roll src/third_party/WebKit 6b63e20:35e1984 (svn 201060:201061)
[chromium-blink-merge.git] / extensions / test / test_content_utility_client.h
blob518806a61bb99c74a681128eeb805650a57b1965
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 {
14 public:
15 TestContentUtilityClient();
16 ~TestContentUtilityClient() override;
18 // ContentUtilityClient implementation
19 void UtilityThreadStarted() override;
20 bool OnMessageReceived(const IPC::Message& message) override;
22 private:
23 UtilityHandler utility_handler_;
26 } // namespace extensions
28 #endif // EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_