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

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

Issue 10666010: Don't pass the connector check policy flag along. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 public: 42 public:
43 explicit BrowserProcessImpl(const CommandLine& command_line); 43 explicit BrowserProcessImpl(const CommandLine& command_line);
44 virtual ~BrowserProcessImpl(); 44 virtual ~BrowserProcessImpl();
45 45
46 // Called before the browser threads are created. 46 // Called before the browser threads are created.
47 void PreCreateThreads(); 47 void PreCreateThreads();
48 48
49 // Called after the threads have been created but before the message loops 49 // Called after the threads have been created but before the message loops
50 // starts running. Allows the browser process to do any initialization that 50 // starts running. Allows the browser process to do any initialization that
51 // requires all threads running. 51 // requires all threads running.
52 void PreMainMessageLoopRun(); 52 // Virtual for testing.
53 virtual void PreMainMessageLoopRun();
53 54
54 // Most cleanup is done by these functions, driven from 55 // Most cleanup is done by these functions, driven from
55 // ChromeBrowserMain based on notifications from the content 56 // ChromeBrowserMain based on notifications from the content
56 // framework, rather than in the destructor, so that we can 57 // framework, rather than in the destructor, so that we can
57 // interleave cleanup with threads being stopped. 58 // interleave cleanup with threads being stopped.
58 void StartTearDown(); 59 void StartTearDown();
59 void PostDestroyThreads(); 60 void PostDestroyThreads();
60 61
61 // BrowserProcess implementation. 62 // BrowserProcess implementation.
62 virtual void ResourceDispatcherHostCreated() OVERRIDE; 63 virtual void ResourceDispatcherHostCreated() OVERRIDE;
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 #endif 262 #endif
262 263
263 // TODO(eroman): Remove this when done debugging 113031. This tracks 264 // TODO(eroman): Remove this when done debugging 113031. This tracks
264 // the callstack which released the final module reference count. 265 // the callstack which released the final module reference count.
265 base::debug::StackTrace release_last_reference_callstack_; 266 base::debug::StackTrace release_last_reference_callstack_;
266 267
267 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 268 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
268 }; 269 };
269 270
270 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 271 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.h » ('j') | chrome/browser/chrome_browser_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698