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