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

Unified Diff: chrome/browser/chromeos/extensions/file_browser_private_api.h

Issue 9808023: Grant file access permissions for cached file paths to file browsers/handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another rebase Created 8 years, 9 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/extensions/file_browser_private_api.h
diff --git a/chrome/browser/chromeos/extensions/file_browser_private_api.h b/chrome/browser/chromeos/extensions/file_browser_private_api.h
index d207f94183eaf7fe4752de480a0b5bf1b715f811..c0af2517e5b3647b4ef227ca8b694fb50511267a 100644
--- a/chrome/browser/chromeos/extensions/file_browser_private_api.h
+++ b/chrome/browser/chromeos/extensions/file_browser_private_api.h
@@ -233,6 +233,8 @@ class AddMountFunction
private:
// Sends gdata mount event to renderers.
void RaiseGDataMountEvent(gdata::GDataErrorCode error);
+ // Gives the extension renderer file permissions for the given path.
+ void GrantFilePermissionsToHost(const FilePath& path, int permissions);
// Adds gdata mount point.
void AddGDataMountPoint();
// A callback method to handle the result of GData authentication request.

Powered by Google App Engine
This is Rietveld 408576698