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

Unified Diff: chrome/browser/extensions/api/media_galleries/media_galleries_api.cc

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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/media_galleries/media_galleries_api.cc
diff --git a/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc b/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc
index 4e689ab9f3038b8046322c15937cced7990ac1cc..d7e52b96a787244920de9b659069e0cf3397c3f7 100644
--- a/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc
+++ b/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc
@@ -60,7 +60,7 @@ bool MediaGalleriesGetMediaFileSystemsFunction::RunImpl() {
chrome::MediaFileSystemRegistry* media_fs_registry =
MediaFileSystemRegistry::GetInstance();
const std::vector<MediaFileSystemRegistry::MediaFSIDAndPath> filesystems =
- media_fs_registry->GetMediaFileSystems(rph);
+ media_fs_registry->GetMediaFileSystems(rph, *GetExtension());
const int child_id = rph->GetID();
base::ListValue* list = new base::ListValue();
« no previous file with comments | « no previous file | chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698