Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: chrome/browser/browser_process_impl.h

Issue 160447: Add checks to DEBUG mode that no instance of URLRequest or URLFetcher survive... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Sync client Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/linked_list_unittest.cc ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « base/linked_list_unittest.cc ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698