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

Side by Side Diff: chrome/browser/browser_process_impl.h

Issue 138553004: Move component updater artifacts into component_updater namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 virtual SafeBrowsingService* safe_browsing_service() OVERRIDE; 116 virtual SafeBrowsingService* safe_browsing_service() OVERRIDE;
117 virtual safe_browsing::ClientSideDetectionService* 117 virtual safe_browsing::ClientSideDetectionService*
118 safe_browsing_detection_service() OVERRIDE; 118 safe_browsing_detection_service() OVERRIDE;
119 119
120 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 120 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
121 virtual void StartAutoupdateTimer() OVERRIDE; 121 virtual void StartAutoupdateTimer() OVERRIDE;
122 #endif 122 #endif
123 123
124 virtual ChromeNetLog* net_log() OVERRIDE; 124 virtual ChromeNetLog* net_log() OVERRIDE;
125 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; 125 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE;
126 virtual ComponentUpdateService* component_updater() OVERRIDE; 126 virtual component_updater::ComponentUpdateService*
127 component_updater() OVERRIDE;
127 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; 128 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE;
128 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE; 129 virtual component_updater::PnaclComponentInstaller*
130 pnacl_component_installer() OVERRIDE;
129 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; 131 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE;
130 virtual StorageMonitor* storage_monitor() OVERRIDE; 132 virtual StorageMonitor* storage_monitor() OVERRIDE;
131 void set_storage_monitor_for_test(scoped_ptr<StorageMonitor> monitor); 133 void set_storage_monitor_for_test(scoped_ptr<StorageMonitor> monitor);
132 virtual MediaFileSystemRegistry* media_file_system_registry() OVERRIDE; 134 virtual MediaFileSystemRegistry* media_file_system_registry() OVERRIDE;
133 virtual bool created_local_state() const OVERRIDE; 135 virtual bool created_local_state() const OVERRIDE;
134 #if defined(ENABLE_WEBRTC) 136 #if defined(ENABLE_WEBRTC)
135 virtual WebRtcLogUploader* webrtc_log_uploader() OVERRIDE; 137 virtual WebRtcLogUploader* webrtc_log_uploader() OVERRIDE;
136 #endif 138 #endif
137 139
138 static void RegisterPrefs(PrefRegistrySimple* registry); 140 static void RegisterPrefs(PrefRegistrySimple* registry);
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 // Gets called by autoupdate timer to see if browser needs restart and can be 280 // Gets called by autoupdate timer to see if browser needs restart and can be
279 // restarted, and if that's the case, restarts the browser. 281 // restarted, and if that's the case, restarts the browser.
280 void OnAutoupdateTimer(); 282 void OnAutoupdateTimer();
281 bool CanAutorestartForUpdate() const; 283 bool CanAutorestartForUpdate() const;
282 void RestartBackgroundInstance(); 284 void RestartBackgroundInstance();
283 #endif // defined(OS_WIN) || defined(OS_LINUX) && !defined(OS_CHROMEOS) 285 #endif // defined(OS_WIN) || defined(OS_LINUX) && !defined(OS_CHROMEOS)
284 286
285 // component updater is normally not used under ChromeOS due 287 // component updater is normally not used under ChromeOS due
286 // to concerns over integrity of data shared between profiles, 288 // to concerns over integrity of data shared between profiles,
287 // but some users of component updater only install per-user. 289 // but some users of component updater only install per-user.
288 scoped_ptr<ComponentUpdateService> component_updater_; 290 scoped_ptr<component_updater::ComponentUpdateService> component_updater_;
289 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; 291 scoped_refptr<CRLSetFetcher> crl_set_fetcher_;
290 scoped_ptr<PnaclComponentInstaller> pnacl_component_installer_; 292 scoped_ptr<component_updater::PnaclComponentInstaller>
293 pnacl_component_installer_;
291 294
292 #if defined(ENABLE_PLUGIN_INSTALLATION) 295 #if defined(ENABLE_PLUGIN_INSTALLATION)
293 scoped_refptr<PluginsResourceService> plugins_resource_service_; 296 scoped_refptr<PluginsResourceService> plugins_resource_service_;
294 #endif 297 #endif
295 298
296 scoped_ptr<BrowserProcessPlatformPart> platform_part_; 299 scoped_ptr<BrowserProcessPlatformPart> platform_part_;
297 300
298 // TODO(eroman): Remove this when done debugging 113031. This tracks 301 // TODO(eroman): Remove this when done debugging 113031. This tracks
299 // the callstack which released the final module reference count. 302 // the callstack which released the final module reference count.
300 base::debug::StackTrace release_last_reference_callstack_; 303 base::debug::StackTrace release_last_reference_callstack_;
301 304
302 #if defined(ENABLE_WEBRTC) 305 #if defined(ENABLE_WEBRTC)
303 // Lazily initialized. 306 // Lazily initialized.
304 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; 307 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_;
305 #endif 308 #endif
306 309
307 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 310 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
308 }; 311 };
309 312
310 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 313 #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