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

Unified Diff: content/public/test/test_launcher.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/public/test/browser_test_utils.h ('k') | content/shell/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_launcher.h
===================================================================
--- content/public/test/test_launcher.h (revision 147044)
+++ content/public/test/test_launcher.h (working copy)
@@ -10,6 +10,10 @@
class CommandLine;
+namespace base {
+class RunLoop;
+}
+
namespace test_launcher {
extern const char kEmptyTestName[];
@@ -30,6 +34,8 @@
virtual bool Run(int argc, char** argv, int* return_code) = 0;
virtual int RunTestSuite(int argc, char** argv) = 0;
virtual bool AdjustChildProcessCommandLine(CommandLine* command_line) = 0;
+ virtual void PreRunMessageLoop(base::RunLoop* run_loop) {}
+ virtual void PostRunMessageLoop() {}
protected:
virtual ~TestLauncherDelegate();
@@ -39,6 +45,8 @@
int argc,
char** argv) WARN_UNUSED_RESULT;
+TestLauncherDelegate* GetCurrentTestLauncherDelegate();
+
} // namespace test_launcher
#endif // CONTENT_PUBLIC_TEST_TEST_LAUNCHER_H_
« no previous file with comments | « content/public/test/browser_test_utils.h ('k') | content/shell/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698