Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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

Issue 10067021: Postpone setting up file handler's file permissions if handler is running lazy background page. (Closed) Base URL: svn://
Patch Set: rebase 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
Index: chrome/browser/chromeos/gdata/gdata_util.h
diff --git a/chrome/browser/chromeos/gdata/gdata_util.h b/chrome/browser/chromeos/gdata/gdata_util.h
index 594bc0cf5d46b4e6b826db4e319c773db6eb3991..cf5cd118c9d65fefaa74b9d1e2d32e28b7e9db7b 100644
--- a/chrome/browser/chromeos/gdata/gdata_util.h
+++ b/chrome/browser/chromeos/gdata/gdata_util.h
@@ -7,6 +7,7 @@
#pragma once
#include <string>
+#include <vector>
#include "googleurl/src/gurl.h"
@@ -43,6 +44,13 @@ bool IsUnderGDataMountPoint(const FilePath& path);
// Examples: ExtractGDatPath("/special/gdata/foo.txt") => "gdata/foo.txt"
FilePath ExtractGDataPath(const FilePath& path);
+// Returns vector of all possible cache paths for a given path on gdata mount
+// point.
+void InsertGDataCachePathsPermissions(
+ Profile* profile_,
+ const FilePath& gdata_path,
+ std::vector<std::pair<FilePath, int> >* cache_paths);
// Grants read-only file access permissions to the process whose id is |pid|
// with ChildProcessSecurityPolicy for all possible cache paths that may be
// given to the specified file.
« no previous file with comments | « chrome/browser/chromeos/extensions/ ('k') | chrome/browser/chromeos/gdata/ » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698