| Index: chrome/browser/policy/cloud/resource_cache.cc
|
| diff --git a/chrome/browser/policy/cloud/resource_cache.cc b/chrome/browser/policy/cloud/resource_cache.cc
|
| index 4a9932a8ca04087bf5d061e28f9cc17382b6ee60..0ee7e3a689eb017b92c6e2949649f64293919eb4 100644
|
| --- a/chrome/browser/policy/cloud/resource_cache.cc
|
| +++ b/chrome/browser/policy/cloud/resource_cache.cc
|
| @@ -94,7 +94,7 @@ bool ResourceCache::Load(const std::string& key,
|
| base::FilePath subkey_path;
|
| // Only read from |subkey_path| if it is not a symlink.
|
| if (!VerifyKeyPathAndGetSubkeyPath(key, false, subkey, &subkey_path) ||
|
| - file_util::IsLink(subkey_path)) {
|
| + base::IsLink(subkey_path)) {
|
| return false;
|
| }
|
| data->clear();
|
| @@ -118,7 +118,7 @@ void ResourceCache::LoadAllSubkeys(
|
| std::string data;
|
| // Only read from |subkey_path| if it is not a symlink and its name is
|
| // a base64-encoded string.
|
| - if (!file_util::IsLink(path) &&
|
| + if (!base::IsLink(path) &&
|
| Base64Decode(encoded_subkey, &subkey) &&
|
| base::ReadFileToString(path, &data)) {
|
| (*contents)[subkey].swap(data);
|
|
|