summaryrefslogtreecommitdiffstats
path: root/chrome/browser/component_updater/component_unpacker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/component_updater/component_unpacker.cc')
-rw-r--r--chrome/browser/component_updater/component_unpacker.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/component_updater/component_unpacker.cc b/chrome/browser/component_updater/component_unpacker.cc
index de7cfcb..1e3e558 100644
--- a/chrome/browser/component_updater/component_unpacker.cc
+++ b/chrome/browser/component_updater/component_unpacker.cc
@@ -92,7 +92,7 @@ class CRXValidator {
base::DictionaryValue* ReadManifest(const base::FilePath& unpack_path) {
base::FilePath manifest =
unpack_path.Append(FILE_PATH_LITERAL("manifest.json"));
- if (!file_util::PathExists(manifest))
+ if (!base::PathExists(manifest))
return NULL;
JSONFileValueSerializer serializer(manifest);
std::string error;
@@ -109,7 +109,7 @@ base::DictionaryValue* ReadManifest(const base::FilePath& unpack_path) {
// This method doesn't take any special steps to prevent files from
// being inserted into the target directory by another process or thread.
bool MakeEmptyDirectory(const base::FilePath& path) {
- if (file_util::PathExists(path)) {
+ if (base::PathExists(path)) {
if (!base::Delete(path, true))
return false;
}