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

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

Issue 2907493002: ChromeOS: Per-user time zone: refactor tests first. (Closed)
Patch Set: Move more code from dependent CL here. Created 3 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_TEST_EXTENSION_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "extensions/browser/extension_system.h" 10 #include "extensions/browser/extension_system.h"
11 #include "extensions/common/one_shot_event.h" 11 #include "extensions/common/one_shot_event.h"
12 12
13 #if defined(OS_CHROMEOS)
14 #include "chrome/browser/chromeos/login/users/scoped_test_user_manager.h"
15 #endif
16
13 class Profile; 17 class Profile;
14 class TestingValueStore; 18 class TestingValueStore;
15 19
16 namespace base { 20 namespace base {
17 class CommandLine; 21 class CommandLine;
18 class FilePath; 22 class FilePath;
19 } 23 }
20 24
21 namespace content { 25 namespace content {
22 class BrowserContext; 26 class BrowserContext;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 private: 88 private:
85 std::unique_ptr<StateStore> state_store_; 89 std::unique_ptr<StateStore> state_store_;
86 scoped_refptr<TestValueStoreFactory> store_factory_; 90 scoped_refptr<TestValueStoreFactory> store_factory_;
87 std::unique_ptr<ManagementPolicy> management_policy_; 91 std::unique_ptr<ManagementPolicy> management_policy_;
88 std::unique_ptr<RuntimeData> runtime_data_; 92 std::unique_ptr<RuntimeData> runtime_data_;
89 std::unique_ptr<ExtensionService> extension_service_; 93 std::unique_ptr<ExtensionService> extension_service_;
90 scoped_refptr<InfoMap> info_map_; 94 scoped_refptr<InfoMap> info_map_;
91 std::unique_ptr<QuotaService> quota_service_; 95 std::unique_ptr<QuotaService> quota_service_;
92 std::unique_ptr<AppSorting> app_sorting_; 96 std::unique_ptr<AppSorting> app_sorting_;
93 OneShotEvent ready_; 97 OneShotEvent ready_;
98
99 #if defined(OS_CHROMEOS)
100 std::unique_ptr<chromeos::ScopedTestUserManager> test_user_manager_;
101 #endif
stevenjb 2017/05/25 21:20:24 I think instead the extensions team may prefer a d
Alexander Alekseev 2017/05/26 02:18:01 This sounds a bit too complicate. We will need to
94 }; 102 };
95 103
96 } // namespace extensions 104 } // namespace extensions
97 105
98 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 106 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698