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

Unified Diff: chrome/browser/history/history_unittest.cc

Issue 100573002: Move directory creation functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/history/history_unittest.cc
diff --git a/chrome/browser/history/history_unittest.cc b/chrome/browser/history/history_unittest.cc
index 67f1e50a2901022e5b50b109cc27881eb226b900..d8b5e802be650b128befba0617dd2770abca4a17 100644
--- a/chrome/browser/history/history_unittest.cc
+++ b/chrome/browser/history/history_unittest.cc
@@ -140,7 +140,7 @@ class HistoryBackendDBTest : public HistoryUnitTestBase {
virtual void SetUp() {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
history_dir_ = temp_dir_.path().AppendASCII("HistoryBackendDBTest");
- ASSERT_TRUE(file_util::CreateDirectory(history_dir_));
+ ASSERT_TRUE(base::CreateDirectory(history_dir_));
}
void DeleteBackend() {
@@ -912,7 +912,7 @@ class HistoryTest : public testing::Test {
virtual void SetUp() {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
history_dir_ = temp_dir_.path().AppendASCII("HistoryTest");
- ASSERT_TRUE(file_util::CreateDirectory(history_dir_));
+ ASSERT_TRUE(base::CreateDirectory(history_dir_));
history_service_.reset(new HistoryService);
if (!history_service_->Init(history_dir_, NULL)) {
history_service_.reset();
« no previous file with comments | « chrome/browser/history/history_querying_unittest.cc ('k') | chrome/browser/importer/firefox_importer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698