| Index: chrome/browser/chromeos/gdata/gdata_util.cc
|
| diff --git a/chrome/browser/chromeos/gdata/gdata_util.cc b/chrome/browser/chromeos/gdata/gdata_util.cc
|
| index a8958451c1f5ea1bcdccca0b8c37920961622f06..dec6c041ae188847a84bcde0d42558f2b3b8baa7 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_util.cc
|
| +++ b/chrome/browser/chromeos/gdata/gdata_util.cc
|
| @@ -235,17 +235,6 @@ void InsertGDataCachePathsPermissions(
|
|
|
| }
|
|
|
| -void SetPermissionsForGDataCacheFiles(Profile* profile,
|
| - int pid,
|
| - const FilePath& path) {
|
| - std::vector<std::pair<FilePath, int> > cache_paths;
|
| - InsertGDataCachePathsPermissions(profile, path, &cache_paths);
|
| - for (size_t i = 0; i < cache_paths.size(); i++) {
|
| - content::ChildProcessSecurityPolicy::GetInstance()->GrantPermissionsForFile(
|
| - pid, cache_paths[i].first, cache_paths[i].second);
|
| - }
|
| -}
|
| -
|
| bool IsGDataAvailable(Profile* profile) {
|
| // Do not allow GData for incognito windows / guest mode.
|
| if (profile->IsOffTheRecord())
|
|
|