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

Unified Diff: content/test/browser_test_base.cc

Issue 10837238: Move browser_test_base.h to content/public/test. I originally thought that content_browsertests wou… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/test/browser_test_base.h ('k') | content/test/content_browser_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/browser_test_base.cc
===================================================================
--- content/test/browser_test_base.cc (revision 151480)
+++ content/test/browser_test_base.cc (working copy)
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/test/browser_test_base.h"
+#include "content/public/test/browser_test_base.h"
#include "base/bind.h"
#include "base/command_line.h"
@@ -38,6 +38,8 @@
} // namespace
+namespace content {
+
BrowserTestBase::BrowserTestBase() {
#if defined(OS_MACOSX)
base::mac::SetOverrideAmIBundled(true);
@@ -60,7 +62,7 @@
command_line->AppendSwitch(switches::kDomAutomationController);
- content::MainFunctionParams params(*command_line);
+ MainFunctionParams params(*command_line);
params.ui_task =
new base::Closure(
base::Bind(&BrowserTestBase::ProxyRunTestOnMainThreadLoop, this));
@@ -90,3 +92,5 @@
net::TestServer::kLocalhost,
FilePath().AppendASCII(test_server_base)));
}
+
+} // namespace content
« no previous file with comments | « content/test/browser_test_base.h ('k') | content/test/content_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698