1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // These data structures can be used to describe the contents of an iPhoto
8 #ifndef CHROME_COMMON_MEDIA_GALLERIES_IPHOTO_LIBRARY_H_
9 #define CHROME_COMMON_MEDIA_GALLERIES_IPHOTO_LIBRARY_H_
14 #include "base/files/file_path.h"
22 const base::FilePath
& location
,
23 const base::FilePath
& original_location
);
24 bool operator<(const Photo
& other
) const;
27 base::FilePath location
;
28 base::FilePath original_location
;
31 typedef std::set
<uint64
> Album
;
32 typedef std::map
<std::string
/*album name*/, Album
> Albums
;
36 Library(const Albums
& albums
, const std::set
<Photo
>& all_photos
);
40 std::set
<Photo
> all_photos
;
46 #endif // CHROME_COMMON_MEDIA_GALLERIES_IPHOTO_LIBRARY_H_