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

Side by Side Diff: chrome/browser/browser_process_impl.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
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.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 (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 // When each service is created, we set a flag indicating this. At this point, 5 // When each service is created, we set a flag indicating this. At this point,
6 // the service initialization could fail or succeed. This allows us to remember 6 // the service initialization could fail or succeed. This allows us to remember
7 // if we tried to create a service, and not try creating it over and over if 7 // if we tried to create a service, and not try creating it over and over if
8 // the creation failed. 8 // the creation failed.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 component_updater::SupervisedUserWhitelistInstaller* 133 component_updater::SupervisedUserWhitelistInstaller*
134 supervised_user_whitelist_installer() override; 134 supervised_user_whitelist_installer() override;
135 MediaFileSystemRegistry* media_file_system_registry() override; 135 MediaFileSystemRegistry* media_file_system_registry() override;
136 bool created_local_state() const override; 136 bool created_local_state() const override;
137 #if defined(ENABLE_WEBRTC) 137 #if defined(ENABLE_WEBRTC)
138 WebRtcLogUploader* webrtc_log_uploader() override; 138 WebRtcLogUploader* webrtc_log_uploader() override;
139 #endif 139 #endif
140 network_time::NetworkTimeTracker* network_time_tracker() override; 140 network_time::NetworkTimeTracker* network_time_tracker() override;
141 gcm::GCMDriver* gcm_driver() override; 141 gcm::GCMDriver* gcm_driver() override;
142 memory::OomPriorityManager* GetOomPriorityManager() override; 142 memory::OomPriorityManager* GetOomPriorityManager() override;
143 ShellIntegration::DefaultWebClientState CachedDefaultWebClientState()
144 override;
143 145
144 static void RegisterPrefs(PrefRegistrySimple* registry); 146 static void RegisterPrefs(PrefRegistrySimple* registry);
145 147
146 private: 148 private:
147 void CreateWatchdogThread(); 149 void CreateWatchdogThread();
148 void CreateProfileManager(); 150 void CreateProfileManager();
149 void CreateLocalState(); 151 void CreateLocalState();
150 void CreateViewedPageTracker(); 152 void CreateViewedPageTracker();
151 void CreateIconManager(); 153 void CreateIconManager();
152 void CreateIntranetRedirectDetector(); 154 void CreateIntranetRedirectDetector();
153 void CreateNotificationUIManager(); 155 void CreateNotificationUIManager();
154 void CreateStatusTrayManager(); 156 void CreateStatusTrayManager();
155 void CreatePrintPreviewDialogController(); 157 void CreatePrintPreviewDialogController();
156 void CreateBackgroundPrintingManager(); 158 void CreateBackgroundPrintingManager();
157 void CreateSafeBrowsingService(); 159 void CreateSafeBrowsingService();
158 void CreateSafeBrowsingDetectionService(); 160 void CreateSafeBrowsingDetectionService();
159 void CreateStatusTray(); 161 void CreateStatusTray();
160 void CreateBackgroundModeManager(); 162 void CreateBackgroundModeManager();
161 void CreateGCMDriver(); 163 void CreateGCMDriver();
162 164
163 void ApplyAllowCrossOriginAuthPromptPolicy(); 165 void ApplyAllowCrossOriginAuthPromptPolicy();
164 void ApplyDefaultBrowserPolicy(); 166 void ApplyDefaultBrowserPolicy();
165 void ApplyMetricsReportingPolicy(); 167 void ApplyMetricsReportingPolicy();
166 168
169 void CacheDefaultWebClientState();
170
167 scoped_ptr<MetricsServicesManager> metrics_services_manager_; 171 scoped_ptr<MetricsServicesManager> metrics_services_manager_;
168 172
169 scoped_ptr<IOThread> io_thread_; 173 scoped_ptr<IOThread> io_thread_;
170 174
171 bool created_watchdog_thread_; 175 bool created_watchdog_thread_;
172 scoped_ptr<WatchDogThread> watchdog_thread_; 176 scoped_ptr<WatchDogThread> watchdog_thread_;
173 177
174 bool created_browser_policy_connector_; 178 bool created_browser_policy_connector_;
175 #if defined(ENABLE_CONFIGURATION_POLICY) 179 #if defined(ENABLE_CONFIGURATION_POLICY)
176 // Must be destroyed after |local_state_|. 180 // Must be destroyed after |local_state_|.
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 #if !defined(OS_ANDROID) 312 #if !defined(OS_ANDROID)
309 scoped_ptr<ChromeDeviceClient> device_client_; 313 scoped_ptr<ChromeDeviceClient> device_client_;
310 #endif 314 #endif
311 315
312 #if defined(OS_CHROMEOS) 316 #if defined(OS_CHROMEOS)
313 // Any change to this #ifdef must be reflected as well in 317 // Any change to this #ifdef must be reflected as well in
314 // chrome/browser/memory/oom_priority_manager_browsertest.cc 318 // chrome/browser/memory/oom_priority_manager_browsertest.cc
315 scoped_ptr<memory::OomPriorityManager> oom_priority_manager_; 319 scoped_ptr<memory::OomPriorityManager> oom_priority_manager_;
316 #endif 320 #endif
317 321
322 ShellIntegration::DefaultWebClientState cached_default_web_client_state_;
323
318 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 324 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
319 }; 325 };
320 326
321 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 327 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698