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

Unified Diff: chrome/browser/chromeos/extensions/wallpaper_private_api.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
Index: chrome/browser/chromeos/extensions/wallpaper_private_api.cc
diff --git a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
index 5fc587678f14bd035184a51a73d3d2f62c37d055..32deb319b02d0ffe9c0de3f9dab5e43e86cb01af 100644
--- a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
+++ b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
@@ -99,7 +99,7 @@ bool GetData(const base::FilePath& path, std::string* data) {
return false;
return !base::PathExists(path) ||
- file_util::ReadFileToString(path, data);
+ base::ReadFileToString(path, data);
}
class WindowStateManager;
@@ -386,7 +386,7 @@ void WallpaperPrivateSetWallpaperIfExistsFunction::
path = fallback_path;
if (base::PathExists(path) &&
- file_util::ReadFileToString(path, &data)) {
+ base::ReadFileToString(path, &data)) {
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
base::Bind(&WallpaperPrivateSetWallpaperIfExistsFunction::StartDecode,
this, data));

Powered by Google App Engine
This is Rietveld 408576698