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

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

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.h
diff --git a/chrome/common/media_galleries/iphoto_library.h b/chrome/common/media_galleries/iphoto_library.h
index 82e022f57ba8fa10bd55dac5860ff752761bd756..357d7bd02b149af1de6fc3bc39525cb7fe540721 100644
--- a/chrome/common/media_galleries/iphoto_library.h
+++ b/chrome/common/media_galleries/iphoto_library.h
@@ -12,17 +12,23 @@
#include <set>
#include "base/files/file_path.h"
+#include "base/time/time.h"
namespace iphoto {
namespace parser {
struct Photo {
Photo();
- Photo(uint64 id, const base::FilePath& location);
+ Photo(uint64 id,
+ const base::FilePath& location,
+ const base::FilePath& original_location,
+ const base::Time& photo_time);
bool operator<(const Photo& other) const;
uint64 id;
base::FilePath location;
+ base::FilePath original_location;
+ base::Time photo_time;
};
typedef std::set<uint64> Album;

Powered by Google App Engine
This is Rietveld 408576698