| Index: extensions/renderer/test_extensions_renderer_client.h
|
| diff --git a/extensions/renderer/test_extensions_renderer_client.h b/extensions/renderer/test_extensions_renderer_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a71d1bb459ab84bae3769c9655dd5242e85b32ad
|
| --- /dev/null
|
| +++ b/extensions/renderer/test_extensions_renderer_client.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2014 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_RENDERER_TEST_EXTENSIONS_RENDERER_CLIENT_H_
|
| +#define EXTENSIONS_RENDERER_TEST_EXTENSIONS_RENDERER_CLIENT_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "extensions/renderer/extensions_renderer_client.h"
|
| +
|
| +namespace extensions {
|
| +
|
| +class TestExtensionsRendererClient : public ExtensionsRendererClient {
|
| + public:
|
| + TestExtensionsRendererClient();
|
| + virtual ~TestExtensionsRendererClient();
|
| +
|
| + // ExtensionsRendererClient implementation.
|
| + virtual bool IsIncognitoProcess() const OVERRIDE;
|
| + virtual int GetLowestIsolatedWorldId() const OVERRIDE;
|
| + virtual void RegisterNativeHandlers(ModuleSystem* module_system,
|
| + ScriptContext* context) OVERRIDE;
|
| + virtual void PopulateSourceMap(ResourceBundleSourceMap* source_map) OVERRIDE;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(TestExtensionsRendererClient);
|
| +};
|
| +
|
| +} // namespace extensions
|
| +
|
| +#endif // EXTENSIONS_RENDERER_TEST_EXTENSIONS_RENDERER_CLIENT_H_
|
|
|