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

Unified Diff: content/test/browser_test_base.h

Issue 10806056: Move plugin_browsertests.cc from browser_tests to content_browsertests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync to mac+win fixes 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
Index: content/test/browser_test_base.h
===================================================================
--- content/test/browser_test_base.h (revision 147965)
+++ content/test/browser_test_base.h (working copy)
@@ -8,6 +8,8 @@
#include "base/compiler_specific.h"
#include "testing/gtest/include/gtest/gtest.h"
+class CommandLine;
+
class BrowserTestBase : public testing::Test {
public:
BrowserTestBase();
@@ -25,6 +27,14 @@
// Restores state configured in SetUp.
virtual void TearDown() OVERRIDE;
+ // Override this to add any custom setup code that needs to be done on the
+ // main thread after the browser is created and just before calling
+ // RunTestOnMainThread().
+ virtual void SetUpOnMainThread() {}
+
+ // Override this to add command line flags specific to your test.
+ virtual void SetUpCommandLine(CommandLine* command_line) {}
+
protected:
// We need these special methods because SetUp is the bottom of the stack
// that winds up calling your test method, so it is not always an option

Powered by Google App Engine
This is Rietveld 408576698