OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef EXTENSIONS_RENDERER_TEST_EXTENSIONS_RENDERER_CLIENT_H_ |
| 6 #define EXTENSIONS_RENDERER_TEST_EXTENSIONS_RENDERER_CLIENT_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "extensions/renderer/extensions_renderer_client.h" |
| 10 |
| 11 namespace extensions { |
| 12 |
| 13 class TestExtensionsRendererClient : public ExtensionsRendererClient { |
| 14 public: |
| 15 TestExtensionsRendererClient(); |
| 16 virtual ~TestExtensionsRendererClient(); |
| 17 |
| 18 // ExtensionsRendererClient implementation. |
| 19 virtual bool IsIncognitoProcess() const OVERRIDE; |
| 20 virtual int GetLowestIsolatedWorldId() const OVERRIDE; |
| 21 virtual void RegisterNativeHandlers(ModuleSystem* module_system, |
| 22 ScriptContext* context) OVERRIDE; |
| 23 virtual void PopulateSourceMap(ResourceBundleSourceMap* source_map) OVERRIDE; |
| 24 |
| 25 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(TestExtensionsRendererClient); |
| 27 }; |
| 28 |
| 29 } // namespace extensions |
| 30 |
| 31 #endif // EXTENSIONS_RENDERER_TEST_EXTENSIONS_RENDERER_CLIENT_H_ |
OLD | NEW |