summaryrefslogtreecommitdiffstats
path: root/chrome/common/itunes_library.cc
blob: 9d7d4df4fdebc5f2617634c9d25703c039375109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/common/itunes_library.h"

namespace itunes {
namespace parser {

Track::Track()
    : id(0) {
}

Track::Track(uint64 id, const base::FilePath& location)
    : id(id),
      location(location) {
}

bool Track::operator<(const Track& other) const {
  return id < other.id;
}

}  // namespace parser
}  // namespace itunes