| OLD | NEW |
| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // ChromeBrowserMain based on notifications from the content | 67 // ChromeBrowserMain based on notifications from the content |
| 68 // framework, rather than in the destructor, so that we can | 68 // framework, rather than in the destructor, so that we can |
| 69 // interleave cleanup with threads being stopped. | 69 // interleave cleanup with threads being stopped. |
| 70 void StartTearDown(); | 70 void StartTearDown(); |
| 71 void PostDestroyThreads(); | 71 void PostDestroyThreads(); |
| 72 | 72 |
| 73 // BrowserProcess implementation. | 73 // BrowserProcess implementation. |
| 74 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 74 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
| 75 virtual void EndSession() OVERRIDE; | 75 virtual void EndSession() OVERRIDE; |
| 76 virtual MetricsService* metrics_service() OVERRIDE; | 76 virtual MetricsService* metrics_service() OVERRIDE; |
| 77 virtual PluginMetricsProvider* plugin_metrics_provider() OVERRIDE; |
| 77 virtual rappor::RapporService* rappor_service() OVERRIDE; | 78 virtual rappor::RapporService* rappor_service() OVERRIDE; |
| 78 virtual IOThread* io_thread() OVERRIDE; | 79 virtual IOThread* io_thread() OVERRIDE; |
| 79 virtual WatchDogThread* watchdog_thread() OVERRIDE; | 80 virtual WatchDogThread* watchdog_thread() OVERRIDE; |
| 80 virtual ProfileManager* profile_manager() OVERRIDE; | 81 virtual ProfileManager* profile_manager() OVERRIDE; |
| 81 virtual PrefService* local_state() OVERRIDE; | 82 virtual PrefService* local_state() OVERRIDE; |
| 82 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; | 83 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; |
| 83 virtual chrome_variations::VariationsService* variations_service() OVERRIDE; | 84 virtual chrome_variations::VariationsService* variations_service() OVERRIDE; |
| 84 virtual BrowserProcessPlatformPart* platform_part() OVERRIDE; | 85 virtual BrowserProcessPlatformPart* platform_part() OVERRIDE; |
| 85 virtual extensions::EventRouterForwarder* | 86 virtual extensions::EventRouterForwarder* |
| 86 extension_event_router_forwarder() OVERRIDE; | 87 extension_event_router_forwarder() OVERRIDE; |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 // Lazily initialized. | 286 // Lazily initialized. |
| 286 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; | 287 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; |
| 287 #endif | 288 #endif |
| 288 | 289 |
| 289 scoped_ptr<NetworkTimeTracker> network_time_tracker_; | 290 scoped_ptr<NetworkTimeTracker> network_time_tracker_; |
| 290 | 291 |
| 291 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 292 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 292 }; | 293 }; |
| 293 | 294 |
| 294 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 295 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |