| 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" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 void TearDown() override; | 51 void TearDown() override; |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 content::TestContentClientInitializer content_client_initializer_; | 54 content::TestContentClientInitializer content_client_initializer_; |
| 55 std::unique_ptr<content::ContentUtilityClient> content_utility_client_; | 55 std::unique_ptr<content::ContentUtilityClient> content_utility_client_; |
| 56 std::unique_ptr<content::BrowserContext> browser_context_; | 56 std::unique_ptr<content::BrowserContext> browser_context_; |
| 57 std::unique_ptr<TestExtensionsBrowserClient> extensions_browser_client_; | 57 std::unique_ptr<TestExtensionsBrowserClient> extensions_browser_client_; |
| 58 | 58 |
| 59 // The existence of this object enables tests via | 59 // The existence of this object enables tests via |
| 60 // RenderViewHostTester. | 60 // RenderViewHostTester. |
| 61 content::RenderViewHostTestEnabler rvh_test_enabler_; | 61 std::unique_ptr<content::RenderViewHostTestEnabler> rvh_test_enabler_; |
| 62 | 62 |
| 63 MockExtensionSystemFactory<MockExtensionSystem> extension_system_factory_; | 63 MockExtensionSystemFactory<MockExtensionSystem> extension_system_factory_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(ExtensionsTest); | 65 DISALLOW_COPY_AND_ASSIGN(ExtensionsTest); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace extensions | 68 } // namespace extensions |
| 69 | 69 |
| 70 #endif // EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_ | 70 #endif // EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_ |
| OLD | NEW |