Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(651)

Side by Side Diff: extensions/browser/extensions_test.h

Issue 899553002: Make MockExtensionSystemFactory available in all ExtensionsTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/browser/api_unittest.cc ('k') | extensions/browser/extensions_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "content/public/test/test_renderer_host.h" 11 #include "content/public/test/test_renderer_host.h"
12 #include "extensions/browser/mock_extension_system.h"
12 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
13 14
14 namespace content { 15 namespace content {
15 class BrowserContext; 16 class BrowserContext;
16 class ContentBrowserClient; 17 class ContentBrowserClient;
17 class ContentClient; 18 class ContentClient;
18 class ContentUtilityClient; 19 class ContentUtilityClient;
19 class RenderViewHostTestEnabler; 20 class RenderViewHostTestEnabler;
20 } 21 }
21 22
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 scoped_ptr<content::ContentClient> content_client_; 55 scoped_ptr<content::ContentClient> content_client_;
55 scoped_ptr<content::ContentUtilityClient> content_utility_client_; 56 scoped_ptr<content::ContentUtilityClient> content_utility_client_;
56 scoped_ptr<content::ContentBrowserClient> content_browser_client_; 57 scoped_ptr<content::ContentBrowserClient> content_browser_client_;
57 scoped_ptr<content::BrowserContext> browser_context_; 58 scoped_ptr<content::BrowserContext> browser_context_;
58 scoped_ptr<TestExtensionsBrowserClient> extensions_browser_client_; 59 scoped_ptr<TestExtensionsBrowserClient> extensions_browser_client_;
59 60
60 // The existence of this object enables tests via 61 // The existence of this object enables tests via
61 // RenderViewHostTester. 62 // RenderViewHostTester.
62 content::RenderViewHostTestEnabler rvh_test_enabler_; 63 content::RenderViewHostTestEnabler rvh_test_enabler_;
63 64
65 MockExtensionSystemFactory<MockExtensionSystem> extension_system_factory_;
66
64 DISALLOW_COPY_AND_ASSIGN(ExtensionsTest); 67 DISALLOW_COPY_AND_ASSIGN(ExtensionsTest);
65 }; 68 };
66 69
67 } // namespace extensions 70 } // namespace extensions
68 71
69 #endif // EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_ 72 #endif // EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_
OLDNEW
« no previous file with comments | « extensions/browser/api_unittest.cc ('k') | extensions/browser/extensions_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698