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

Unified Diff: chrome/browser/chromeos/policy/app_pack_updater.cc

Issue 19052005: Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/policy/app_pack_updater.cc
diff --git a/chrome/browser/chromeos/policy/app_pack_updater.cc b/chrome/browser/chromeos/policy/app_pack_updater.cc
index b020e86c5a6bab2fb8f331611b28988cbfb0d1e1..feb595098220e09cea2e24d451c89782b79a2b27 100644
--- a/chrome/browser/chromeos/policy/app_pack_updater.cc
+++ b/chrome/browser/chromeos/policy/app_pack_updater.cc
@@ -240,7 +240,7 @@ void AppPackUpdater::BlockingCheckCacheInternal(
CacheEntryMap* entries) {
// Start by verifying that the cache dir exists.
base::FilePath dir(kAppPackCacheDir);
- if (!file_util::DirectoryExists(dir)) {
+ if (!base::DirectoryExists(dir)) {
// Create it now.
if (!file_util::CreateDirectory(dir))
LOG(ERROR) << "Failed to create AppPack directory at " << dir.value();
@@ -484,7 +484,7 @@ void AppPackUpdater::BlockingInstallCacheEntry(
base::Delete(cached_crx_path, true /* recursive */);
}
- if (!file_util::DirectoryExists(cache_dir)) {
+ if (!base::DirectoryExists(cache_dir)) {
LOG(ERROR) << "AppPack cache directory does not exist, creating now: "
<< cache_dir.value();
if (!file_util::CreateDirectory(cache_dir)) {

Powered by Google App Engine
This is Rietveld 408576698