| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/common/media_galleries/itunes_library.h" | 5 #include "chrome/common/media_galleries/itunes_library.h" |
| 6 | 6 |
| 7 namespace itunes { | 7 namespace itunes { |
| 8 namespace parser { | 8 namespace parser { |
| 9 | 9 |
| 10 Track::Track() | 10 Track::Track() |
| 11 : id(0) { | 11 : id(0) { |
| 12 } | 12 } |
| 13 | 13 |
| 14 Track::Track(uint64 id, const base::FilePath& location) | 14 Track::Track(uint64_t id, const base::FilePath& location) |
| 15 : id(id), | 15 : id(id), location(location) {} |
| 16 location(location) { | |
| 17 } | |
| 18 | 16 |
| 19 bool Track::operator<(const Track& other) const { | 17 bool Track::operator<(const Track& other) const { |
| 20 return id < other.id; | 18 return id < other.id; |
| 21 } | 19 } |
| 22 | 20 |
| 23 } // namespace parser | 21 } // namespace parser |
| 24 } // namespace itunes | 22 } // namespace itunes |
| OLD | NEW |