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

Unified Diff: chrome/utility/media_galleries/media_metadata_parser.h

Issue 103283003: Media Galleries API Metadata: SafeMediaMetadataParser and IPCTunnelDataReader. (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
« no previous file with comments | « chrome/utility/media_galleries/ipc_data_source.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/media_galleries/media_metadata_parser.h
diff --git a/chrome/utility/media_galleries/media_metadata_parser.h b/chrome/utility/media_galleries/media_metadata_parser.h
index 2f93de008d97202e5b3fba8d7360f074b575736d..c9c5b5e775d26be8868a878daec33529b8bfa594 100644
--- a/chrome/utility/media_galleries/media_metadata_parser.h
+++ b/chrome/utility/media_galleries/media_metadata_parser.h
@@ -25,9 +25,8 @@ class MediaMetadataParser {
typedef extensions::api::media_galleries::MediaMetadata MediaMetadata;
typedef base::Callback<void(scoped_ptr<MediaMetadata>)> MetadataCallback;
- // Does not take ownership of |source|. The MIME type is sniffed in the
- // browser process, as it's faster (and safe enough). When the user wants
- // more metadata than just the MIME type, this class provides it.
+ // Does not take ownership of |source|. Caller is responsible for ensuring
+ // that |source| outlives this object.
MediaMetadataParser(media::DataSource* source, const std::string& mime_type);
~MediaMetadataParser();
« no previous file with comments | « chrome/utility/media_galleries/ipc_data_source.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698