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

Unified Diff: chrome/browser/chromeos/gdata/gdata_util.cc

Issue 10263012: gdata: Remove SetPermissionsForGDataCacheFiles() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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())
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698