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 /cloud_print/gcp20/prototype/printer_state.cc | |
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 'cloud_print/gcp20/prototype/printer_state.cc')
-rw-r--r-- | cloud_print/gcp20/prototype/printer_state.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud_print/gcp20/prototype/printer_state.cc b/cloud_print/gcp20/prototype/printer_state.cc index 0e12eee..17ccb6c 100644 --- a/cloud_print/gcp20/prototype/printer_state.cc +++ b/cloud_print/gcp20/prototype/printer_state.cc @@ -75,7 +75,7 @@ bool SaveToFile(const base::FilePath& path, const PrinterState& state) { base::JSONWriter::OPTIONS_PRETTY_PRINT, &json_str); int size = base::checked_cast<int>(json_str.size()); - return (file_util::WriteFile(path, json_str.data(), size) == size); + return (base::WriteFile(path, json_str.data(), size) == size); } bool LoadFromFile(const base::FilePath& path, PrinterState* state) { |