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

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

Issue 250143002: Media Galleries API: Audio/Video attached pictures support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 4a85487c169932904a11e2554d5bf065a90d7e31..cbb5634da70d72128273a1e69f9f806348df49dc 100644
--- a/chrome/browser/extensions/api/media_galleries/media_galleries_api.h
+++ b/chrome/browser/extensions/api/media_galleries/media_galleries_api.h
@@ -263,15 +263,19 @@ 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(bool mime_type_only, bool get_attached_pictures,
+ const std::string& blob_uuid);
void SniffMimeType(bool mime_type_only,
vandebo (ex-Chrome) 2014/04/23 23:22:45 Should this now be named GetMetadata ?
tommycli 2014/04/29 00:15:51 Done.
+ bool get_attached_pictures,
const std::string& blob_uuid,
scoped_ptr<std::string> blob_header,
int64 total_blob_length);
void OnSafeMediaMetadataParserDone(
- bool parse_success, base::DictionaryValue* metadata_dictionary);
+ bool parse_success, base::DictionaryValue* metadata_dictionary,
+ const std::vector<std::string>& attached_pictures_bytes,
+ const std::vector<std::string>& attached_pictures_types);
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698