Home | History | Annotate | Download | only in media_galleries
      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.
      4 
      5 #include "chrome/common/media_galleries/itunes_library.h"
      6 
      7 namespace itunes {
      8 namespace parser {
      9 
     10 Track::Track()
     11     : id(0) {
     12 }
     13 
     14 Track::Track(uint64 id, const base::FilePath& location)
     15     : id(id),
     16       location(location) {
     17 }
     18 
     19 bool Track::operator<(const Track& other) const {
     20   return id < other.id;
     21 }
     22 
     23 }  // namespace parser
     24 }  // namespace itunes
     25