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

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

Issue 12091054: Media Galleries: Always call MediaFileSystemRegistry::GetMediaFileSystemsForExtension() before show… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/extensions/api/media_galleries/media_galleries_api.h
===================================================================
--- chrome/browser/extensions/api/media_galleries/media_galleries_api.h (revision 179445)
+++ chrome/browser/extensions/api/media_galleries/media_galleries_api.h (working copy)
@@ -26,6 +26,10 @@
virtual bool RunImpl() OVERRIDE;
private:
+ // Always show the dialog.
+ void AlwaysShowDialog(
vandebo (ex-Chrome) 2013/01/30 17:47:30 nit: ShowDialog(
Lei Zhang 2013/01/30 21:00:47 Name's already taken on line 46.
+ const std::vector<chrome::MediaFileSystemInfo>& filesystems);
+
// If no galleries are found, show the dialog, otherwise return them.
void ShowDialogIfNoGalleries(
const std::vector<chrome::MediaFileSystemInfo>& filesystems);

Powered by Google App Engine
This is Rietveld 408576698