| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 130 |
| 131 virtual ChromeNetLog* net_log() OVERRIDE; | 131 virtual ChromeNetLog* net_log() OVERRIDE; |
| 132 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; | 132 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; |
| 133 virtual ComponentUpdateService* component_updater() OVERRIDE; | 133 virtual ComponentUpdateService* component_updater() OVERRIDE; |
| 134 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; | 134 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; |
| 135 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; | 135 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; |
| 136 virtual chrome::MediaFileSystemRegistry* | 136 virtual chrome::MediaFileSystemRegistry* |
| 137 media_file_system_registry() OVERRIDE; | 137 media_file_system_registry() OVERRIDE; |
| 138 virtual void PlatformSpecificCommandLineProcessing( | 138 virtual void PlatformSpecificCommandLineProcessing( |
| 139 const CommandLine& command_line) OVERRIDE; | 139 const CommandLine& command_line) OVERRIDE; |
| 140 virtual bool created_local_state() const OVERRIDE; |
| 140 | 141 |
| 141 static void RegisterPrefs(PrefRegistrySimple* registry); | 142 static void RegisterPrefs(PrefRegistrySimple* registry); |
| 142 | 143 |
| 143 private: | 144 private: |
| 144 void CreateMetricsService(); | 145 void CreateMetricsService(); |
| 145 void CreateWatchdogThread(); | 146 void CreateWatchdogThread(); |
| 146 #if defined(OS_CHROMEOS) | 147 #if defined(OS_CHROMEOS) |
| 147 void InitializeWebSocketProxyThread(); | 148 void InitializeWebSocketProxyThread(); |
| 148 #endif | 149 #endif |
| 149 void CreateProfileManager(); | 150 void CreateProfileManager(); |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 #endif | 310 #endif |
| 310 | 311 |
| 311 // TODO(eroman): Remove this when done debugging 113031. This tracks | 312 // TODO(eroman): Remove this when done debugging 113031. This tracks |
| 312 // the callstack which released the final module reference count. | 313 // the callstack which released the final module reference count. |
| 313 base::debug::StackTrace release_last_reference_callstack_; | 314 base::debug::StackTrace release_last_reference_callstack_; |
| 314 | 315 |
| 315 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 316 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 316 }; | 317 }; |
| 317 | 318 |
| 318 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 319 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |