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

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

Issue 137313003: Media Galleries API Extension functions: Refactor Preference initialization block. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
diff --git a/chrome/browser/extensions/api/media_galleries/media_galleries_api.h b/chrome/browser/extensions/api/media_galleries/media_galleries_api.h
index 991870482ed95b6971432346792c4d5b937f3cea..64d31aca5e4613173738090c9c4bf1e11a4c5452 100644
--- a/chrome/browser/extensions/api/media_galleries/media_galleries_api.h
+++ b/chrome/browser/extensions/api/media_galleries/media_galleries_api.h
@@ -33,8 +33,7 @@ class MediaGalleriesGetMediaFileSystemsFunction
private:
// Bottom half for RunImpl, invoked after the preferences is initialized.
- void OnPreferencesInit(
- MediaGalleries::GetMediaFileSystemsInteractivity interactive);
+ void OnPreferencesInit();
// Always show the dialog.
void AlwaysShowDialog(const std::vector<MediaFileSystemInfo>& filesystems);
@@ -123,7 +122,7 @@ class MediaGalleriesGetMetadataFunction : public ChromeAsyncExtensionFunction {
private:
// Bottom half for RunImpl, invoked after the preferences is initialized.
- void OnPreferencesInit(bool mime_type_only, const std::string& blob_uuid);
+ void OnPreferencesInit();
void SniffMimeType(bool mime_type_only, scoped_ptr<std::string> blob_header);
};

Powered by Google App Engine
This is Rietveld 408576698