| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_ |
| 6 #define EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_ | 6 #define EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "content/public/test/test_content_client_initializer.h" | 12 #include "content/public/test/test_content_client_initializer.h" |
| 13 #include "content/public/test/test_renderer_host.h" | 13 #include "content/public/test/test_renderer_host.h" |
| 14 #include "extensions/browser/mock_extension_system.h" | 14 #include "extensions/browser/mock_extension_system.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 class BrowserContext; | 18 class BrowserContext; |
| 19 class ContentBrowserClient; | |
| 20 class ContentClient; | |
| 21 class ContentUtilityClient; | 19 class ContentUtilityClient; |
| 22 class RenderViewHostTestEnabler; | 20 class RenderViewHostTestEnabler; |
| 23 } | 21 } |
| 24 | 22 |
| 25 namespace extensions { | 23 namespace extensions { |
| 26 class TestExtensionsBrowserClient; | 24 class TestExtensionsBrowserClient; |
| 27 | 25 |
| 28 // Base class for extensions module unit tests of browser process code. Sets up | 26 // Base class for extensions module unit tests of browser process code. Sets up |
| 29 // the content module and extensions module client interfaces. Initializes | 27 // the content module and extensions module client interfaces. Initializes |
| 30 // services for a browser context. | 28 // services for a browser context. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 content::RenderViewHostTestEnabler rvh_test_enabler_; | 61 content::RenderViewHostTestEnabler rvh_test_enabler_; |
| 64 | 62 |
| 65 MockExtensionSystemFactory<MockExtensionSystem> extension_system_factory_; | 63 MockExtensionSystemFactory<MockExtensionSystem> extension_system_factory_; |
| 66 | 64 |
| 67 DISALLOW_COPY_AND_ASSIGN(ExtensionsTest); | 65 DISALLOW_COPY_AND_ASSIGN(ExtensionsTest); |
| 68 }; | 66 }; |
| 69 | 67 |
| 70 } // namespace extensions | 68 } // namespace extensions |
| 71 | 69 |
| 72 #endif // EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_ | 70 #endif // EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_ |
| OLD | NEW |