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

Unified Diff: content/browser/browser_main_loop.h

Issue 9375017: Support sharing of ContentMain and BrowserMain code with embedded use cases (try #3). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/browser_main.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.h
===================================================================
--- content/browser/browser_main_loop.h (revision 121246)
+++ content/browser/browser_main_loop.h (working copy)
@@ -44,24 +44,30 @@
void EarlyInitialization();
void InitializeToolkit();
void MainMessageLoopStart();
- void RunMainMessageLoopParts(bool* completed_main_message_loop);
- void MainMessageLoopRun();
+ // Create all secondary threads.
+ void CreateThreads();
+
+ // Perform the default message loop run logic.
+ void RunMainMessageLoopParts();
+
+ // Performs the shutdown sequence, starting with PostMainMessageLoopRun
+ // through stopping threads to PostDestroyThreads.
+ void ShutdownThreadsAndCleanUp();
+
int GetResultCode() const { return result_code_; }
private:
// For ShutdownThreadsAndCleanUp.
friend class BrowserShutdownImpl;
- // Performs the shutdown sequence, starting with PostMainMessageLoopRun
- // through stopping threads to PostDestroyThreads.
- void ShutdownThreadsAndCleanUp();
-
void InitializeMainThread();
// Called right after the browser threads have been started.
void BrowserThreadsStarted();
+ void MainMessageLoopRun();
+
// Members initialized on construction ---------------------------------------
const content::MainFunctionParams& parameters_;
const CommandLine& parsed_command_line_;
« no previous file with comments | « content/browser/browser_main.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698