| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 // content::NotificationObserver methods | 106 // content::NotificationObserver methods |
| 107 virtual void Observe(int type, | 107 virtual void Observe(int type, |
| 108 const content::NotificationSource& source, | 108 const content::NotificationSource& source, |
| 109 const content::NotificationDetails& details) OVERRIDE; | 109 const content::NotificationDetails& details) OVERRIDE; |
| 110 | 110 |
| 111 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 111 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
| 112 virtual void StartAutoupdateTimer() OVERRIDE; | 112 virtual void StartAutoupdateTimer() OVERRIDE; |
| 113 #endif | 113 #endif |
| 114 | 114 |
| 115 virtual ChromeNetLog* net_log() OVERRIDE; | 115 virtual ChromeNetLog* net_log() OVERRIDE; |
| 116 | |
| 117 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; | 116 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; |
| 118 | |
| 119 #if defined(IPC_MESSAGE_LOG_ENABLED) | |
| 120 virtual void SetIPCLoggingEnabled(bool enable) OVERRIDE; | |
| 121 #endif | |
| 122 | |
| 123 virtual MHTMLGenerationManager* mhtml_generation_manager() OVERRIDE; | 117 virtual MHTMLGenerationManager* mhtml_generation_manager() OVERRIDE; |
| 124 | |
| 125 virtual GpuBlacklistUpdater* gpu_blacklist_updater() OVERRIDE; | 118 virtual GpuBlacklistUpdater* gpu_blacklist_updater() OVERRIDE; |
| 126 | |
| 127 virtual ComponentUpdateService* component_updater() OVERRIDE; | 119 virtual ComponentUpdateService* component_updater() OVERRIDE; |
| 128 | |
| 129 virtual CRLSetFetcher* crl_set_fetcher(); | 120 virtual CRLSetFetcher* crl_set_fetcher(); |
| 130 | 121 |
| 131 private: | 122 private: |
| 132 void CreateResourceDispatcherHost(); | 123 void CreateResourceDispatcherHost(); |
| 133 void CreateMetricsService(); | 124 void CreateMetricsService(); |
| 134 | 125 |
| 135 void CreateIOThread(); | 126 void CreateIOThread(); |
| 136 static void CleanupOnIOThread(); | 127 static void CleanupOnIOThread(); |
| 137 | 128 |
| 138 void CreateFileThread(); | 129 void CreateFileThread(); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 161 void CreateBackgroundPrintingManager(); | 152 void CreateBackgroundPrintingManager(); |
| 162 void CreateSafeBrowsingService(); | 153 void CreateSafeBrowsingService(); |
| 163 void CreateSafeBrowsingDetectionService(); | 154 void CreateSafeBrowsingDetectionService(); |
| 164 void CreateStatusTray(); | 155 void CreateStatusTray(); |
| 165 void CreateBackgroundModeManager(); | 156 void CreateBackgroundModeManager(); |
| 166 | 157 |
| 167 void ApplyDisabledSchemesPolicy(); | 158 void ApplyDisabledSchemesPolicy(); |
| 168 void ApplyAllowCrossOriginAuthPromptPolicy(); | 159 void ApplyAllowCrossOriginAuthPromptPolicy(); |
| 169 void ApplyDefaultBrowserPolicy(); | 160 void ApplyDefaultBrowserPolicy(); |
| 170 | 161 |
| 171 #if defined(IPC_MESSAGE_LOG_ENABLED) | |
| 172 void SetIPCLoggingEnabledForChildProcesses(bool enabled); | |
| 173 #endif | |
| 174 | |
| 175 bool created_resource_dispatcher_host_; | 162 bool created_resource_dispatcher_host_; |
| 176 scoped_ptr<ResourceDispatcherHost> resource_dispatcher_host_; | 163 scoped_ptr<ResourceDispatcherHost> resource_dispatcher_host_; |
| 177 | 164 |
| 178 bool created_metrics_service_; | 165 bool created_metrics_service_; |
| 179 scoped_ptr<MetricsService> metrics_service_; | 166 scoped_ptr<MetricsService> metrics_service_; |
| 180 | 167 |
| 181 bool created_io_thread_; | 168 bool created_io_thread_; |
| 182 scoped_ptr<IOThread> io_thread_; | 169 scoped_ptr<IOThread> io_thread_; |
| 183 | 170 |
| 184 bool created_file_thread_; | 171 bool created_file_thread_; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 #if !defined(OS_CHROMEOS) | 303 #if !defined(OS_CHROMEOS) |
| 317 scoped_ptr<ComponentUpdateService> component_updater_; | 304 scoped_ptr<ComponentUpdateService> component_updater_; |
| 318 | 305 |
| 319 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; | 306 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; |
| 320 #endif | 307 #endif |
| 321 | 308 |
| 322 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 309 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 323 }; | 310 }; |
| 324 | 311 |
| 325 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 312 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |