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

Unified Diff: chrome/browser/search_engines/template_url_parser_unittest.cc

Issue 18286004: Move PathExists to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: chrome/browser/search_engines/template_url_parser_unittest.cc
diff --git a/chrome/browser/search_engines/template_url_parser_unittest.cc b/chrome/browser/search_engines/template_url_parser_unittest.cc
index ae11ecb74ccf9153e995947ab625c8ed1c376186..3905a3a71813b5a0bdc80a073bb47938ce16844d 100644
--- a/chrome/browser/search_engines/template_url_parser_unittest.cc
+++ b/chrome/browser/search_engines/template_url_parser_unittest.cc
@@ -77,7 +77,7 @@ TemplateURLParserTest::~TemplateURLParserTest() {
void TemplateURLParserTest::SetUp() {
ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &full_path_));
full_path_ = full_path_.AppendASCII("osdd");
- if (!file_util::PathExists(full_path_)) {
+ if (!base::PathExists(full_path_)) {
LOG(ERROR) <<
"This test can't be run without some non-redistributable data";
full_path_ = base::FilePath();
@@ -95,7 +95,7 @@ void TemplateURLParserTest::ParseFile(
ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &full_path));
full_path = full_path.AppendASCII("osdd");
full_path = full_path.AppendASCII(file_name);
- ASSERT_TRUE(file_util::PathExists(full_path));
+ ASSERT_TRUE(base::PathExists(full_path));
std::string contents;
ASSERT_TRUE(file_util::ReadFileToString(full_path, &contents));
« no previous file with comments | « chrome/browser/search_engines/template_url_fetcher_unittest.cc ('k') | chrome/browser/sessions/session_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698