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

Unified Diff: content/public/test/browser_test_base.cc

Issue 11094040: BrowserTestBase::CreateTestServer should accept FilePath (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mod nits Created 8 years, 2 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_base.h ('k') | content/test/content_browser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/browser_test_base.cc
diff --git a/content/public/test/browser_test_base.cc b/content/public/test/browser_test_base.cc
index 1124adabbe2e87a488bc29f6c6a154667c3fae77..cd9af610375968386effa6665f3f291cfa0a1999 100644
--- a/content/public/test/browser_test_base.cc
+++ b/content/public/test/browser_test_base.cc
@@ -84,12 +84,12 @@ void BrowserTestBase::ProxyRunTestOnMainThreadLoop() {
RunTestOnMainThreadLoop();
}
-void BrowserTestBase::CreateTestServer(const char* test_server_base) {
+void BrowserTestBase::CreateTestServer(const FilePath& test_server_base) {
CHECK(!test_server_.get());
test_server_.reset(new net::TestServer(
net::TestServer::TYPE_HTTP,
net::TestServer::kLocalhost,
- FilePath().AppendASCII(test_server_base)));
+ test_server_base));
}
} // namespace content
« no previous file with comments | « content/public/test/browser_test_base.h ('k') | content/test/content_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698