diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-06 20:42:30 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-06 20:42:30 +0000 |
commit | e5c2a22eb106e0fef92bbf80ac8bf2429980cc4e (patch) | |
tree | 480bf91e3cf64d69f837a2f22f8fc868bf17dfdc /google_apis/drive | |
parent | 06b1d42b0ceadd4a70b7462c5c7e6adeb5a18ca4 (diff) | |
download | chromium_src-e5c2a22eb106e0fef92bbf80ac8bf2429980cc4e.zip chromium_src-e5c2a22eb106e0fef92bbf80ac8bf2429980cc4e.tar.gz chromium_src-e5c2a22eb106e0fef92bbf80ac8bf2429980cc4e.tar.bz2 |
Move WriteFile and WriteFileDescriptor from file_util to base namespace.
R=viettrungluu@chromium.org
TBR=viettrungluu
Review URL: https://codereview.chromium.org/184563006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255418 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis/drive')
-rw-r--r-- | google_apis/drive/test_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/google_apis/drive/test_util.cc b/google_apis/drive/test_util.cc index 5aaac8c..e77d1cf 100644 --- a/google_apis/drive/test_util.cc +++ b/google_apis/drive/test_util.cc @@ -57,7 +57,7 @@ void RunAndQuit(base::RunLoop* run_loop, const base::Closure& closure) { bool WriteStringToFile(const base::FilePath& file_path, const std::string& content) { - int result = file_util::WriteFile( + int result = base::WriteFile( file_path, content.data(), static_cast<int>(content.size())); return content.size() == static_cast<size_t>(result); } |