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

Unified Diff: chrome/common/media_galleries/iphoto_library.cc

Issue 52093003: [MediaGalleries] iPhoto: Add original file field to the parser. Dedupe album names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add album name dedupe Created 7 years, 2 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/common/media_galleries/iphoto_library.cc
diff --git a/chrome/common/media_galleries/iphoto_library.cc b/chrome/common/media_galleries/iphoto_library.cc
index 2d7eefd4dd049b2b573317dfd1f2609f3b8b4d93..027d0eb9a6472271b244b7e2de6be223c31e4a76 100644
--- a/chrome/common/media_galleries/iphoto_library.cc
+++ b/chrome/common/media_galleries/iphoto_library.cc
@@ -11,9 +11,14 @@ Photo::Photo()
: id(0) {
}
-Photo::Photo(uint64 id, const base::FilePath& location)
+Photo::Photo(uint64 id,
+ const base::FilePath& location,
+ const base::FilePath& original_location,
+ const base::Time& photo_time)
: id(id),
- location(location) {
+ location(location),
+ original_location(original_location),
+ photo_time(photo_time) {
}
bool Photo::operator<(const Photo& other) const {

Powered by Google App Engine
This is Rietveld 408576698