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

Unified Diff: chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h

Issue 2803023005: Switch base::Value typemapping to be by value instead of by unique_ptr.
Patch Set: Created 3 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/media_galleries/fileapi/safe_media_metadata_parser.h
diff --git a/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h b/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h
index 4bad0b13d58febb4697d58a878d231489ea662c9..4201241cd610ed89256c50dcc1b0d94ce7a3446b 100644
--- a/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h
+++ b/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h
@@ -65,7 +65,7 @@ class SafeMediaMetadataParser
// Runs on the IO thread.
void ParseMediaMetadataDone(
bool parse_success,
- std::unique_ptr<base::DictionaryValue> metadata_dictionary,
+ const base::DictionaryValue& metadata_dictionary,
const std::vector<AttachedImage>& attached_images);
// Sequence of functions that bounces from the IO thread to the UI thread to

Powered by Google App Engine
This is Rietveld 408576698