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 iTunes
8 #ifndef CHROME_COMMON_MEDIA_GALLERIES_ITUNES_LIBRARY_H_
9 #define CHROME_COMMON_MEDIA_GALLERIES_ITUNES_LIBRARY_H_
14 #include "base/files/file_path.h"
21 Track(uint64 id
, const base::FilePath
& location
);
22 bool operator<(const Track
& other
) const;
25 base::FilePath location
;
28 typedef std::set
<Track
> Album
;
29 typedef std::map
<std::string
/*album name*/, Album
> Albums
;
30 typedef std::map
<std::string
/*artist name*/, Albums
> Library
;
35 #endif // CHROME_COMMON_MEDIA_GALLERIES_ITUNES_LIBRARY_H_