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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 virtual prerender::PrerenderTracker* prerender_tracker(); | 113 virtual prerender::PrerenderTracker* prerender_tracker(); |
114 | 114 |
115 #if defined(IPC_MESSAGE_LOG_ENABLED) | 115 #if defined(IPC_MESSAGE_LOG_ENABLED) |
116 virtual void SetIPCLoggingEnabled(bool enable); | 116 virtual void SetIPCLoggingEnabled(bool enable); |
117 #endif | 117 #endif |
118 | 118 |
119 virtual MHTMLGenerationManager* mhtml_generation_manager(); | 119 virtual MHTMLGenerationManager* mhtml_generation_manager(); |
120 | 120 |
121 private: | 121 private: |
122 void ClearLocalState(const FilePath& profile_path); | |
123 bool ShouldClearLocalState(FilePath* profile_path); | |
124 | |
125 void CreateResourceDispatcherHost(); | 122 void CreateResourceDispatcherHost(); |
126 void CreateMetricsService(); | 123 void CreateMetricsService(); |
127 | 124 |
128 void CreateIOThread(); | 125 void CreateIOThread(); |
129 static void CleanupOnIOThread(); | 126 static void CleanupOnIOThread(); |
130 | 127 |
131 void WaitForPluginDataRemoverToFinish(); | 128 void WaitForPluginDataRemoverToFinish(); |
132 | 129 |
133 void CreateFileThread(); | 130 void CreateFileThread(); |
134 void CreateDBThread(); | 131 void CreateDBThread(); |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 | 308 |
312 #if defined(OS_CHROMEOS) | 309 #if defined(OS_CHROMEOS) |
313 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 310 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
314 chromeos_proxy_config_service_impl_; | 311 chromeos_proxy_config_service_impl_; |
315 #endif | 312 #endif |
316 | 313 |
317 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 314 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
318 }; | 315 }; |
319 | 316 |
320 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 317 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |