Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / chrome / common / media_galleries / iphoto_library.cc
blob7c580ddd3ec2fd7ba1310e2a1c2559b5b8c59080
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 #include "chrome/common/media_galleries/iphoto_library.h"
7 namespace iphoto {
8 namespace parser {
10 Photo::Photo()
11 : id(0) {
14 Photo::Photo(uint64 id,
15 const base::FilePath& location,
16 const base::FilePath& original_location)
17 : id(id),
18 location(location),
19 original_location(original_location) {
22 bool Photo::operator<(const Photo& other) const {
23 return id < other.id;
26 Library::Library() {}
28 Library::Library(const Albums& albums,
29 const std::set<Photo>& all_photos)
30 : albums(albums),
31 all_photos(all_photos) {}
33 Library::~Library() {}
36 } // namespace parser
37 } // namespace iphoto