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

Unified Diff: content/shell/shell_browser_main_parts.h

Issue 10803026: Get content_browsertest working. I've added a simple test for now, and will convert the tests in sr… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: get it working on mac + linux, fix unittests crash, and fix unittest link error and add missing dep… Created 8 years, 5 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/shell/shell.h ('k') | content/shell/shell_browser_main_parts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_browser_main_parts.h
===================================================================
--- content/shell/shell_browser_main_parts.h (revision 147044)
+++ content/shell/shell_browser_main_parts.h (working copy)
@@ -21,14 +21,15 @@
class ShellBrowserMainParts : public BrowserMainParts {
public:
- explicit ShellBrowserMainParts(const content::MainFunctionParams& parameters);
+ explicit ShellBrowserMainParts(const MainFunctionParams& parameters);
virtual ~ShellBrowserMainParts();
- // content::BrowserMainParts overrides.
+ // BrowserMainParts overrides.
virtual void PreEarlyInitialization() OVERRIDE;
virtual void PreMainMessageLoopStart() OVERRIDE;
virtual void PostMainMessageLoopStart() OVERRIDE;
virtual void PreMainMessageLoopRun() OVERRIDE;
+ virtual bool MainMessageLoopRun(int* result_code) OVERRIDE;
virtual void PostMainMessageLoopRun() OVERRIDE;
ShellDevToolsDelegate* devtools_delegate() { return devtools_delegate_; }
@@ -38,6 +39,10 @@
private:
scoped_ptr<ShellBrowserContext> browser_context_;
+ // For running content_browsertests.
+ const MainFunctionParams& parameters_;
+ bool run_message_loop_;
+
ShellDevToolsDelegate* devtools_delegate_;
DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts);
« no previous file with comments | « content/shell/shell.h ('k') | content/shell/shell_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698