OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 } | 186 } |
187 | 187 |
188 virtual base::WaitableEvent* shutdown_event() { | 188 virtual base::WaitableEvent* shutdown_event() { |
189 return shutdown_event_.get(); | 189 return shutdown_event_.get(); |
190 } | 190 } |
191 | 191 |
192 private: | 192 private: |
193 void CreateResourceDispatcherHost(); | 193 void CreateResourceDispatcherHost(); |
194 void CreatePrefService(); | 194 void CreatePrefService(); |
195 void CreateMetricsService(); | 195 void CreateMetricsService(); |
| 196 |
196 void CreateIOThread(); | 197 void CreateIOThread(); |
| 198 void ResetIOThread(); |
| 199 static void CleanupOnIOThread(); |
| 200 |
197 void CreateFileThread(); | 201 void CreateFileThread(); |
198 void CreateDBThread(); | 202 void CreateDBThread(); |
199 void CreateTemplateURLModel(); | 203 void CreateTemplateURLModel(); |
200 void CreateProfileManager(); | 204 void CreateProfileManager(); |
201 void CreateWebDataService(); | 205 void CreateWebDataService(); |
202 void CreateLocalState(); | 206 void CreateLocalState(); |
203 void CreateViewedPageTracker(); | 207 void CreateViewedPageTracker(); |
204 void CreateIconManager(); | 208 void CreateIconManager(); |
205 void CreateDebuggerWrapper(int port); | 209 void CreateDebuggerWrapper(int port); |
206 void CreateDevToolsManager(); | 210 void CreateDevToolsManager(); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 // nothing in the cosntructor so we don't have to worry about lazy init. | 273 // nothing in the cosntructor so we don't have to worry about lazy init. |
270 ThumbnailGenerator thumbnail_generator_; | 274 ThumbnailGenerator thumbnail_generator_; |
271 | 275 |
272 // An event that notifies when we are shutting-down. | 276 // An event that notifies when we are shutting-down. |
273 scoped_ptr<base::WaitableEvent> shutdown_event_; | 277 scoped_ptr<base::WaitableEvent> shutdown_event_; |
274 | 278 |
275 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 279 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
276 }; | 280 }; |
277 | 281 |
278 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 282 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |