| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 override; | 147 override; |
| 148 component_updater::SupervisedUserWhitelistInstaller* | 148 component_updater::SupervisedUserWhitelistInstaller* |
| 149 supervised_user_whitelist_installer() override; | 149 supervised_user_whitelist_installer() override; |
| 150 MediaFileSystemRegistry* media_file_system_registry() override; | 150 MediaFileSystemRegistry* media_file_system_registry() override; |
| 151 bool created_local_state() const override; | 151 bool created_local_state() const override; |
| 152 #if BUILDFLAG(ENABLE_WEBRTC) | 152 #if BUILDFLAG(ENABLE_WEBRTC) |
| 153 WebRtcLogUploader* webrtc_log_uploader() override; | 153 WebRtcLogUploader* webrtc_log_uploader() override; |
| 154 #endif | 154 #endif |
| 155 network_time::NetworkTimeTracker* network_time_tracker() override; | 155 network_time::NetworkTimeTracker* network_time_tracker() override; |
| 156 gcm::GCMDriver* gcm_driver() override; | 156 gcm::GCMDriver* gcm_driver() override; |
| 157 memory::TabManager* GetTabManager() override; | 157 resource_coordinator::TabManager* GetTabManager() override; |
| 158 shell_integration::DefaultWebClientState CachedDefaultWebClientState() | 158 shell_integration::DefaultWebClientState CachedDefaultWebClientState() |
| 159 override; | 159 override; |
| 160 physical_web::PhysicalWebDataSource* GetPhysicalWebDataSource() override; | 160 physical_web::PhysicalWebDataSource* GetPhysicalWebDataSource() override; |
| 161 | 161 |
| 162 static void RegisterPrefs(PrefRegistrySimple* registry); | 162 static void RegisterPrefs(PrefRegistrySimple* registry); |
| 163 | 163 |
| 164 private: | 164 private: |
| 165 // KeepAliveStateObserver implementation | 165 // KeepAliveStateObserver implementation |
| 166 void OnKeepAliveStateChanged(bool is_keeping_alive) override; | 166 void OnKeepAliveStateChanged(bool is_keeping_alive) override; |
| 167 void OnKeepAliveRestartStateChanged(bool can_restart) override; | 167 void OnKeepAliveRestartStateChanged(bool can_restart) override; |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 std::unique_ptr<network_time::NetworkTimeTracker> network_time_tracker_; | 337 std::unique_ptr<network_time::NetworkTimeTracker> network_time_tracker_; |
| 338 | 338 |
| 339 std::unique_ptr<gcm::GCMDriver> gcm_driver_; | 339 std::unique_ptr<gcm::GCMDriver> gcm_driver_; |
| 340 | 340 |
| 341 std::unique_ptr<ChromeChildProcessWatcher> child_process_watcher_; | 341 std::unique_ptr<ChromeChildProcessWatcher> child_process_watcher_; |
| 342 | 342 |
| 343 std::unique_ptr<ChromeDeviceClient> device_client_; | 343 std::unique_ptr<ChromeDeviceClient> device_client_; |
| 344 | 344 |
| 345 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) | 345 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
| 346 // Any change to this #ifdef must be reflected as well in | 346 // Any change to this #ifdef must be reflected as well in |
| 347 // chrome/browser/memory/tab_manager_browsertest.cc | 347 // chrome/browser/resource_coordinator/tab_manager_browsertest.cc |
| 348 std::unique_ptr<memory::TabManager> tab_manager_; | 348 std::unique_ptr<resource_coordinator::TabManager> tab_manager_; |
| 349 #endif | 349 #endif |
| 350 | 350 |
| 351 shell_integration::DefaultWebClientState cached_default_web_client_state_; | 351 shell_integration::DefaultWebClientState cached_default_web_client_state_; |
| 352 | 352 |
| 353 std::unique_ptr<physical_web::PhysicalWebDataSource> | 353 std::unique_ptr<physical_web::PhysicalWebDataSource> |
| 354 physical_web_data_source_; | 354 physical_web_data_source_; |
| 355 | 355 |
| 356 SEQUENCE_CHECKER(sequence_checker_); | 356 SEQUENCE_CHECKER(sequence_checker_); |
| 357 | 357 |
| 358 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 358 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 359 }; | 359 }; |
| 360 | 360 |
| 361 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 361 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |