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

Unified Diff: components/policy/core/common/config_dir_policy_loader_unittest.cc

Issue 184563006: Move WriteFile and WriteFileDescriptor from file_util to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: components/policy/core/common/config_dir_policy_loader_unittest.cc
diff --git a/components/policy/core/common/config_dir_policy_loader_unittest.cc b/components/policy/core/common/config_dir_policy_loader_unittest.cc
index de749646ac227accf3eea9158eaa3cc7ce336c75..41fc222dcbaf64139639d65c16dc3215546c4484 100644
--- a/components/policy/core/common/config_dir_policy_loader_unittest.cc
+++ b/components/policy/core/common/config_dir_policy_loader_unittest.cc
@@ -145,7 +145,7 @@ void TestHarness::WriteConfigFile(const base::DictionaryValue& dict,
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()));
+ base::WriteFile(file_path, data.c_str(), data.size()));
}
std::string TestHarness::NextConfigFileName() {

Powered by Google App Engine
This is Rietveld 408576698