| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; | 132 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; |
| 133 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE; | 133 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE; |
| 134 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; | 134 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; |
| 135 virtual chrome::MediaFileSystemRegistry* | 135 virtual chrome::MediaFileSystemRegistry* |
| 136 media_file_system_registry() OVERRIDE; | 136 media_file_system_registry() OVERRIDE; |
| 137 virtual void PlatformSpecificCommandLineProcessing( | 137 virtual void PlatformSpecificCommandLineProcessing( |
| 138 const CommandLine& command_line) OVERRIDE; | 138 const CommandLine& command_line) OVERRIDE; |
| 139 virtual bool created_local_state() const OVERRIDE; | 139 virtual bool created_local_state() const OVERRIDE; |
| 140 #if defined(OS_WIN) && defined(USE_AURA) | 140 #if defined(OS_WIN) && defined(USE_AURA) |
| 141 virtual void OnMetroViewerProcessTerminated() OVERRIDE; | 141 virtual void OnMetroViewerProcessTerminated() OVERRIDE; |
| 142 virtual void TerminateMetroViewerProcess() OVERRIDE; |
| 142 #endif | 143 #endif |
| 143 | 144 |
| 144 static void RegisterPrefs(PrefRegistrySimple* registry); | 145 static void RegisterPrefs(PrefRegistrySimple* registry); |
| 145 | 146 |
| 146 private: | 147 private: |
| 147 void CreateMetricsService(); | 148 void CreateMetricsService(); |
| 148 void CreateWatchdogThread(); | 149 void CreateWatchdogThread(); |
| 149 void CreateProfileManager(); | 150 void CreateProfileManager(); |
| 150 void CreateLocalState(); | 151 void CreateLocalState(); |
| 151 void CreateViewedPageTracker(); | 152 void CreateViewedPageTracker(); |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 scoped_ptr<BrowserProcessPlatformPart> platform_part_; | 311 scoped_ptr<BrowserProcessPlatformPart> platform_part_; |
| 311 | 312 |
| 312 // TODO(eroman): Remove this when done debugging 113031. This tracks | 313 // TODO(eroman): Remove this when done debugging 113031. This tracks |
| 313 // the callstack which released the final module reference count. | 314 // the callstack which released the final module reference count. |
| 314 base::debug::StackTrace release_last_reference_callstack_; | 315 base::debug::StackTrace release_last_reference_callstack_; |
| 315 | 316 |
| 316 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 317 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 317 }; | 318 }; |
| 318 | 319 |
| 319 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 320 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |