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

Side by Side Diff: chrome/browser/extensions/extension_service_test_base.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
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 CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 20 matching lines...) Expand all
31 class Profile; 31 class Profile;
32 class TestingProfile; 32 class TestingProfile;
33 33
34 namespace content { 34 namespace content {
35 class BrowserContext; 35 class BrowserContext;
36 } 36 }
37 37
38 namespace extensions { 38 namespace extensions {
39 39
40 class ExtensionRegistry; 40 class ExtensionRegistry;
41 class ManagementPolicy;
42 41
43 // A unittest infrastructure which creates an ExtensionService. Whenever 42 // A unittest infrastructure which creates an ExtensionService. Whenever
44 // possible, use this instead of creating a browsertest. 43 // possible, use this instead of creating a browsertest.
45 // Note: Before adding methods to this class, please, please, please think about 44 // Note: Before adding methods to this class, please, please, please think about
46 // whether they should go here or in a more specific subclass. Lots of things 45 // whether they should go here or in a more specific subclass. Lots of things
47 // need an ExtensionService, but they don't all need to know how you want yours 46 // need an ExtensionService, but they don't all need to know how you want yours
48 // to be initialized. 47 // to be initialized.
49 class ExtensionServiceTestBase : public testing::Test { 48 class ExtensionServiceTestBase : public testing::Test {
50 public: 49 public:
51 struct ExtensionServiceInitParams { 50 struct ExtensionServiceInitParams {
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 chromeos::ScopedTestCrosSettings test_cros_settings_; 174 chromeos::ScopedTestCrosSettings test_cros_settings_;
176 chromeos::ScopedTestUserManager test_user_manager_; 175 chromeos::ScopedTestUserManager test_user_manager_;
177 #endif 176 #endif
178 177
179 DISALLOW_COPY_AND_ASSIGN(ExtensionServiceTestBase); 178 DISALLOW_COPY_AND_ASSIGN(ExtensionServiceTestBase);
180 }; 179 };
181 180
182 } // namespace extensions 181 } // namespace extensions
183 182
184 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_ 183 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_BASE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service.h ('k') | chrome/browser/extensions/extension_system_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698