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

Unified Diff: content/test/content_browser_test_utils.cc

Issue 12208057: Add explicit base to FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/content_browser_test.cc ('k') | content/test/content_test_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/content_browser_test_utils.cc
diff --git a/content/test/content_browser_test_utils.cc b/content/test/content_browser_test_utils.cc
index b8c64c378d77a6037fd00d4765cedb6bf46a0abc..b1c2e51d3719cdffe513f64107af148a079271d0 100644
--- a/content/test/content_browser_test_utils.cc
+++ b/content/test/content_browser_test_utils.cc
@@ -21,11 +21,11 @@
namespace content {
-FilePath GetTestFilePath(const char* dir, const char* file) {
- FilePath path;
+base::FilePath GetTestFilePath(const char* dir, const char* file) {
+ base::FilePath path;
PathService::Get(DIR_TEST_DATA, &path);
- return path.Append(
- FilePath().AppendASCII(dir).Append(FilePath().AppendASCII(file)));
+ return path.Append(base::FilePath().AppendASCII(dir).Append(
+ base::FilePath().AppendASCII(file)));
}
GURL GetTestUrl(const char* dir, const char* file) {
« no previous file with comments | « content/test/content_browser_test.cc ('k') | content/test/content_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698