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

Unified Diff: remoting/host/json_host_config.cc

Issue 19579005: Move ReadFileToString to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
« no previous file with comments | « remoting/host/config_file_watcher.cc ('k') | remoting/protocol/authenticator_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/json_host_config.cc
diff --git a/remoting/host/json_host_config.cc b/remoting/host/json_host_config.cc
index d25f4b5ae8907df4078ccf670c710f35ada1f681..0a8db7cdb5fb0fa72ab89677ffb5b359e86a35f8 100644
--- a/remoting/host/json_host_config.cc
+++ b/remoting/host/json_host_config.cc
@@ -26,7 +26,7 @@ bool JsonHostConfig::Read() {
// TODO(sergeyu): Implement better error handling here.
std::string file_content;
- if (!file_util::ReadFileToString(filename_, &file_content)) {
+ if (!base::ReadFileToString(filename_, &file_content)) {
LOG(WARNING) << "Failed to read " << filename_.value();
return false;
}
« no previous file with comments | « remoting/host/config_file_watcher.cc ('k') | remoting/protocol/authenticator_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698