| Index: extensions/test/test_content_utility_client.h
|
| diff --git a/extensions/test/test_content_utility_client.h b/extensions/test/test_content_utility_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..518806a61bb99c74a681128eeb805650a57b1965
|
| --- /dev/null
|
| +++ b/extensions/test/test_content_utility_client.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_
|
| +#define EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_
|
| +
|
| +#include "content/public/utility/content_utility_client.h"
|
| +#include "extensions/utility/utility_handler.h"
|
| +
|
| +namespace extensions {
|
| +
|
| +class TestContentUtilityClient : public content::ContentUtilityClient {
|
| + public:
|
| + TestContentUtilityClient();
|
| + ~TestContentUtilityClient() override;
|
| +
|
| + // ContentUtilityClient implementation
|
| + void UtilityThreadStarted() override;
|
| + bool OnMessageReceived(const IPC::Message& message) override;
|
| +
|
| + private:
|
| + UtilityHandler utility_handler_;
|
| +};
|
| +
|
| +} // namespace extensions
|
| +
|
| +#endif // EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_
|
|
|