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

Side by Side Diff: chrome/test/base/testing_browser_process.h

Issue 1226643002: Welcome page changes for Windows 10 and over. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rewording in policy_templates.json and sync to position 338549 Created 5 years, 5 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 // An implementation of BrowserProcess for unit tests that fails for most 5 // An implementation of BrowserProcess for unit tests that fails for most
6 // services. By preventing creation of services, we reduce dependencies and 6 // services. By preventing creation of services, we reduce dependencies and
7 // keep the profile clean. Clients of this class must handle the NULL return 7 // keep the profile clean. Clients of this class must handle the NULL return
8 // value, however. 8 // value, however.
9 9
10 #ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 10 #ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 bool created_local_state() const override; 116 bool created_local_state() const override;
117 117
118 #if defined(ENABLE_WEBRTC) 118 #if defined(ENABLE_WEBRTC)
119 WebRtcLogUploader* webrtc_log_uploader() override; 119 WebRtcLogUploader* webrtc_log_uploader() override;
120 #endif 120 #endif
121 121
122 network_time::NetworkTimeTracker* network_time_tracker() override; 122 network_time::NetworkTimeTracker* network_time_tracker() override;
123 123
124 gcm::GCMDriver* gcm_driver() override; 124 gcm::GCMDriver* gcm_driver() override;
125 memory::OomPriorityManager* GetOomPriorityManager() override; 125 memory::OomPriorityManager* GetOomPriorityManager() override;
126 ShellIntegration::DefaultWebClientState CachedDefaultWebClientState()
127 override;
126 128
127 // Set the local state for tests. Consumer is responsible for cleaning it up 129 // Set the local state for tests. Consumer is responsible for cleaning it up
128 // afterwards (using ScopedTestingLocalState, for example). 130 // afterwards (using ScopedTestingLocalState, for example).
129 void SetLocalState(PrefService* local_state); 131 void SetLocalState(PrefService* local_state);
130 void SetProfileManager(ProfileManager* profile_manager); 132 void SetProfileManager(ProfileManager* profile_manager);
131 void SetIOThread(IOThread* io_thread); 133 void SetIOThread(IOThread* io_thread);
132 void SetBrowserPolicyConnector(policy::BrowserPolicyConnector* connector); 134 void SetBrowserPolicyConnector(policy::BrowserPolicyConnector* connector);
133 void SetSafeBrowsingService(SafeBrowsingService* sb_service); 135 void SetSafeBrowsingService(SafeBrowsingService* sb_service);
134 void SetSystemRequestContext(net::URLRequestContextGetter* context_getter); 136 void SetSystemRequestContext(net::URLRequestContextGetter* context_getter);
135 void SetNotificationUIManager( 137 void SetNotificationUIManager(
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 class TestingBrowserProcessInitializer { 204 class TestingBrowserProcessInitializer {
203 public: 205 public:
204 TestingBrowserProcessInitializer(); 206 TestingBrowserProcessInitializer();
205 ~TestingBrowserProcessInitializer(); 207 ~TestingBrowserProcessInitializer();
206 208
207 private: 209 private:
208 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); 210 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer);
209 }; 211 };
210 212
211 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 213 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/master_preferences_unittest.cc ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698