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

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

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs Created 6 years, 2 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 // 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void PreMainMessageLoopRun(); 68 void PreMainMessageLoopRun();
69 69
70 // Most cleanup is done by these functions, driven from 70 // Most cleanup is done by these functions, driven from
71 // ChromeBrowserMain based on notifications from the content 71 // ChromeBrowserMain based on notifications from the content
72 // framework, rather than in the destructor, so that we can 72 // framework, rather than in the destructor, so that we can
73 // interleave cleanup with threads being stopped. 73 // interleave cleanup with threads being stopped.
74 void StartTearDown(); 74 void StartTearDown();
75 void PostDestroyThreads(); 75 void PostDestroyThreads();
76 76
77 // BrowserProcess implementation. 77 // BrowserProcess implementation.
78 virtual void ResourceDispatcherHostCreated() OVERRIDE; 78 virtual void ResourceDispatcherHostCreated() override;
79 virtual void EndSession() OVERRIDE; 79 virtual void EndSession() override;
80 virtual MetricsServicesManager* GetMetricsServicesManager() OVERRIDE; 80 virtual MetricsServicesManager* GetMetricsServicesManager() override;
81 virtual metrics::MetricsService* metrics_service() OVERRIDE; 81 virtual metrics::MetricsService* metrics_service() override;
82 virtual rappor::RapporService* rappor_service() OVERRIDE; 82 virtual rappor::RapporService* rappor_service() override;
83 virtual IOThread* io_thread() OVERRIDE; 83 virtual IOThread* io_thread() override;
84 virtual WatchDogThread* watchdog_thread() OVERRIDE; 84 virtual WatchDogThread* watchdog_thread() override;
85 virtual ProfileManager* profile_manager() OVERRIDE; 85 virtual ProfileManager* profile_manager() override;
86 virtual PrefService* local_state() OVERRIDE; 86 virtual PrefService* local_state() override;
87 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; 87 virtual net::URLRequestContextGetter* system_request_context() override;
88 virtual chrome_variations::VariationsService* variations_service() OVERRIDE; 88 virtual chrome_variations::VariationsService* variations_service() override;
89 virtual BrowserProcessPlatformPart* platform_part() OVERRIDE; 89 virtual BrowserProcessPlatformPart* platform_part() override;
90 virtual extensions::EventRouterForwarder* 90 virtual extensions::EventRouterForwarder*
91 extension_event_router_forwarder() OVERRIDE; 91 extension_event_router_forwarder() override;
92 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; 92 virtual NotificationUIManager* notification_ui_manager() override;
93 virtual message_center::MessageCenter* message_center() OVERRIDE; 93 virtual message_center::MessageCenter* message_center() override;
94 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; 94 virtual policy::BrowserPolicyConnector* browser_policy_connector() override;
95 virtual policy::PolicyService* policy_service() OVERRIDE; 95 virtual policy::PolicyService* policy_service() override;
96 virtual IconManager* icon_manager() OVERRIDE; 96 virtual IconManager* icon_manager() override;
97 virtual GLStringManager* gl_string_manager() OVERRIDE; 97 virtual GLStringManager* gl_string_manager() override;
98 virtual GpuModeManager* gpu_mode_manager() OVERRIDE; 98 virtual GpuModeManager* gpu_mode_manager() override;
99 virtual void CreateDevToolsHttpProtocolHandler( 99 virtual void CreateDevToolsHttpProtocolHandler(
100 chrome::HostDesktopType host_desktop_type, 100 chrome::HostDesktopType host_desktop_type,
101 const std::string& ip, 101 const std::string& ip,
102 int port) OVERRIDE; 102 int port) override;
103 virtual unsigned int AddRefModule() OVERRIDE; 103 virtual unsigned int AddRefModule() override;
104 virtual unsigned int ReleaseModule() OVERRIDE; 104 virtual unsigned int ReleaseModule() override;
105 virtual bool IsShuttingDown() OVERRIDE; 105 virtual bool IsShuttingDown() override;
106 virtual printing::PrintJobManager* print_job_manager() OVERRIDE; 106 virtual printing::PrintJobManager* print_job_manager() override;
107 virtual printing::PrintPreviewDialogController* 107 virtual printing::PrintPreviewDialogController*
108 print_preview_dialog_controller() OVERRIDE; 108 print_preview_dialog_controller() override;
109 virtual printing::BackgroundPrintingManager* 109 virtual printing::BackgroundPrintingManager*
110 background_printing_manager() OVERRIDE; 110 background_printing_manager() override;
111 virtual IntranetRedirectDetector* intranet_redirect_detector() OVERRIDE; 111 virtual IntranetRedirectDetector* intranet_redirect_detector() override;
112 virtual const std::string& GetApplicationLocale() OVERRIDE; 112 virtual const std::string& GetApplicationLocale() override;
113 virtual void SetApplicationLocale(const std::string& locale) OVERRIDE; 113 virtual void SetApplicationLocale(const std::string& locale) override;
114 virtual DownloadStatusUpdater* download_status_updater() OVERRIDE; 114 virtual DownloadStatusUpdater* download_status_updater() override;
115 virtual DownloadRequestLimiter* download_request_limiter() OVERRIDE; 115 virtual DownloadRequestLimiter* download_request_limiter() override;
116 virtual BackgroundModeManager* background_mode_manager() OVERRIDE; 116 virtual BackgroundModeManager* background_mode_manager() override;
117 virtual void set_background_mode_manager_for_test( 117 virtual void set_background_mode_manager_for_test(
118 scoped_ptr<BackgroundModeManager> manager) OVERRIDE; 118 scoped_ptr<BackgroundModeManager> manager) override;
119 virtual StatusTray* status_tray() OVERRIDE; 119 virtual StatusTray* status_tray() override;
120 virtual SafeBrowsingService* safe_browsing_service() OVERRIDE; 120 virtual SafeBrowsingService* safe_browsing_service() override;
121 virtual safe_browsing::ClientSideDetectionService* 121 virtual safe_browsing::ClientSideDetectionService*
122 safe_browsing_detection_service() OVERRIDE; 122 safe_browsing_detection_service() override;
123 123
124 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 124 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
125 virtual void StartAutoupdateTimer() OVERRIDE; 125 virtual void StartAutoupdateTimer() override;
126 #endif 126 #endif
127 127
128 virtual ChromeNetLog* net_log() OVERRIDE; 128 virtual ChromeNetLog* net_log() override;
129 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; 129 virtual prerender::PrerenderTracker* prerender_tracker() override;
130 virtual component_updater::ComponentUpdateService* 130 virtual component_updater::ComponentUpdateService*
131 component_updater() OVERRIDE; 131 component_updater() override;
132 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; 132 virtual CRLSetFetcher* crl_set_fetcher() override;
133 virtual component_updater::PnaclComponentInstaller* 133 virtual component_updater::PnaclComponentInstaller*
134 pnacl_component_installer() OVERRIDE; 134 pnacl_component_installer() override;
135 virtual MediaFileSystemRegistry* media_file_system_registry() OVERRIDE; 135 virtual MediaFileSystemRegistry* media_file_system_registry() override;
136 virtual bool created_local_state() const OVERRIDE; 136 virtual bool created_local_state() const override;
137 #if defined(ENABLE_WEBRTC) 137 #if defined(ENABLE_WEBRTC)
138 virtual WebRtcLogUploader* webrtc_log_uploader() OVERRIDE; 138 virtual WebRtcLogUploader* webrtc_log_uploader() override;
139 #endif 139 #endif
140 virtual network_time::NetworkTimeTracker* network_time_tracker() OVERRIDE; 140 virtual network_time::NetworkTimeTracker* network_time_tracker() override;
141 virtual gcm::GCMDriver* gcm_driver() OVERRIDE; 141 virtual gcm::GCMDriver* gcm_driver() override;
142 142
143 static void RegisterPrefs(PrefRegistrySimple* registry); 143 static void RegisterPrefs(PrefRegistrySimple* registry);
144 144
145 private: 145 private:
146 void CreateWatchdogThread(); 146 void CreateWatchdogThread();
147 void CreateProfileManager(); 147 void CreateProfileManager();
148 void CreateLocalState(); 148 void CreateLocalState();
149 void CreateViewedPageTracker(); 149 void CreateViewedPageTracker();
150 void CreateIconManager(); 150 void CreateIconManager();
151 void CreateIntranetRedirectDetector(); 151 void CreateIntranetRedirectDetector();
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 scoped_ptr<gcm::GCMDriver> gcm_driver_; 302 scoped_ptr<gcm::GCMDriver> gcm_driver_;
303 303
304 #if !defined(OS_ANDROID) 304 #if !defined(OS_ANDROID)
305 scoped_ptr<ChromeDeviceClient> device_client_; 305 scoped_ptr<ChromeDeviceClient> device_client_;
306 #endif 306 #endif
307 307
308 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 308 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
309 }; 309 };
310 310
311 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 311 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_keyevents_browsertest.cc ('k') | chrome/browser/browser_process_platform_part_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698