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

Unified Diff: chrome/browser/policy/cloud/user_cloud_policy_store_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/policy/cloud/user_cloud_policy_store_unittest.cc
diff --git a/chrome/browser/policy/cloud/user_cloud_policy_store_unittest.cc b/chrome/browser/policy/cloud/user_cloud_policy_store_unittest.cc
index a0ad278fe00a7db51ec1aff7df5447e1a71d54c7..d07e6221c87c5ccd41ed7e748a7616ebbe4dbde4 100644
--- a/chrome/browser/policy/cloud/user_cloud_policy_store_unittest.cc
+++ b/chrome/browser/policy/cloud/user_cloud_policy_store_unittest.cc
@@ -115,7 +115,7 @@ TEST_F(UserCloudPolicyStoreTest, LoadWithInvalidFile) {
EXPECT_TRUE(store_->policy_map().empty());
// Create a bogus file.
- ASSERT_TRUE(file_util::CreateDirectory(policy_file().DirName()));
+ ASSERT_TRUE(base::CreateDirectory(policy_file().DirName()));
std::string bogus_data = "bogus_data";
int size = bogus_data.size();
ASSERT_EQ(size, file_util::WriteFile(policy_file(),
@@ -148,7 +148,7 @@ TEST_F(UserCloudPolicyStoreTest, LoadImmediatelyWithInvalidFile) {
EXPECT_TRUE(store_->policy_map().empty());
// Create a bogus file.
- ASSERT_TRUE(file_util::CreateDirectory(policy_file().DirName()));
+ ASSERT_TRUE(base::CreateDirectory(policy_file().DirName()));
std::string bogus_data = "bogus_data";
int size = bogus_data.size();
ASSERT_EQ(size, file_util::WriteFile(policy_file(),
« no previous file with comments | « chrome/browser/policy/cloud/user_cloud_policy_store.cc ('k') | chrome/browser/policy/config_dir_policy_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698