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

Unified Diff: content/public/common/media_metadata.cc

Issue 2015433003: Implement MediaMetadata artwork in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed tests Created 4 years, 7 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: content/public/common/media_metadata.cc
diff --git a/content/public/common/media_metadata.cc b/content/public/common/media_metadata.cc
index dc3824c25b0cdc82b515387caec50f9ea356f6b7..d79311c23a3b82f5b99525534a32e55fcc5484b1 100644
--- a/content/public/common/media_metadata.cc
+++ b/content/public/common/media_metadata.cc
@@ -13,7 +13,9 @@ MediaMetadata::MediaMetadata() = default;
MediaMetadata::~MediaMetadata() = default;
bool MediaMetadata::operator==(const MediaMetadata& other) const {
- return title == other.title && artist == other.artist && album == other.album;
+ // TODO(zqzhang): compare the icons.
+ return title == other.title && artist == other.artist &&
+ album == other.album;
}
bool MediaMetadata::operator!=(const MediaMetadata& other) const {

Powered by Google App Engine
This is Rietveld 408576698