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

Unified Diff: chrome/browser/media_gallery/media_file_system_registry.h

Issue 10822002: Media Galleries API: hookup the AllGalleries permission and add tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 5 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/media_gallery/media_file_system_registry.h
diff --git a/chrome/browser/media_gallery/media_file_system_registry.h b/chrome/browser/media_gallery/media_file_system_registry.h
index e87de92bd2dcb3acc82cc04cfd35d615594d797c..e936a8b3e414460fbd88a489cdbd8de6ae35928a 100644
--- a/chrome/browser/media_gallery/media_file_system_registry.h
+++ b/chrome/browser/media_gallery/media_file_system_registry.h
@@ -25,6 +25,10 @@ namespace content {
class RenderProcessHost;
}
+namespace extensions {
+class Extension;
+}
+
namespace fileapi {
class IsolatedContext;
}
@@ -44,7 +48,8 @@ class MediaFileSystemRegistry
// Returns the list of media filesystem IDs and paths for a given RPH.
// Called on the UI thread.
std::vector<MediaFSIDAndPath> GetMediaFileSystems(
- const content::RenderProcessHost* rph);
+ const content::RenderProcessHost* rph,
+ const extensions::Extension& extension);
// base::SystemMonitor::DevicesChangedObserver implementation.
virtual void OnMediaDeviceDetached(const std::string& id) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698