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

Unified Diff: chrome/browser/policy/config_dir_policy_loader_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/config_dir_policy_loader_unittest.cc
diff --git a/chrome/browser/policy/config_dir_policy_loader_unittest.cc b/chrome/browser/policy/config_dir_policy_loader_unittest.cc
index 1deaeaf48eee8c5f1b06cb6eb9c80beeb824cd1b..03d52ab98158d28b95941afc561426105aa87bca 100644
--- a/chrome/browser/policy/config_dir_policy_loader_unittest.cc
+++ b/chrome/browser/policy/config_dir_policy_loader_unittest.cc
@@ -142,7 +142,7 @@ void TestHarness::WriteConfigFile(const base::DictionaryValue& dict,
JSONStringValueSerializer serializer(&data);
serializer.Serialize(dict);
const base::FilePath mandatory_dir(test_dir().Append(kMandatoryPath));
- ASSERT_TRUE(file_util::CreateDirectory(mandatory_dir));
+ ASSERT_TRUE(base::CreateDirectory(mandatory_dir));
const base::FilePath file_path(mandatory_dir.AppendASCII(file_name));
ASSERT_EQ((int) data.size(),
file_util::WriteFile(file_path, data.c_str(), data.size()));
« no previous file with comments | « chrome/browser/policy/cloud/user_cloud_policy_store_unittest.cc ('k') | chrome/browser/prefs/pref_functional_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698