| Index: chrome/browser/extensions/api/media_galleries/media_galleries_api.h
|
| ===================================================================
|
| --- chrome/browser/extensions/api/media_galleries/media_galleries_api.h (revision 179687)
|
| +++ 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(
|
| + 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);
|
| @@ -40,6 +44,11 @@
|
|
|
| // Shows the configuration dialog to edit gallery preferences.
|
| void ShowDialog();
|
| +
|
| + // A helper method that calls
|
| + // MediaFileSystemRegistry::GetMediaFileSystemsForExtension().
|
| + void GetMediaFileSystemsForExtension(
|
| + const chrome::MediaFileSystemsCallback& cb);
|
| };
|
|
|
| class MediaGalleriesAssembleMediaFileFunction : public SyncExtensionFunction {
|
|
|