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 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_DATA_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_DATA_PROVIDER_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_DATA_PROVIDER_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_DATA_PROVIDER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | |
13 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
14 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
15 #include "base/files/file_path_watcher.h" | 14 #include "base/files/file_path_watcher.h" |
| 15 #include "base/macros.h" |
16 #include "chrome/browser/media_galleries/fileapi/iapps_data_provider.h" | 16 #include "chrome/browser/media_galleries/fileapi/iapps_data_provider.h" |
17 #include "chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.h" | 17 #include "chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.h" |
18 | 18 |
19 namespace itunes { | 19 namespace itunes { |
20 | 20 |
21 class TestITunesDataProvider; | 21 class TestITunesDataProvider; |
22 | 22 |
23 // This class is the holder for iTunes parsed data. Given a path to the iTunes | 23 // This class is the holder for iTunes parsed data. Given a path to the iTunes |
24 // library XML file it will read it in, parse the data, and provide convenient | 24 // library XML file it will read it in, parse the data, and provide convenient |
25 // methods to access it. When the file changes, it will update the data. | 25 // methods to access it. When the file changes, it will update the data. |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // Hides parent class member, but it is private, and there's no way to get a | 84 // Hides parent class member, but it is private, and there's no way to get a |
85 // WeakPtr<Derived> from a WeakPtr<Base> without using SupportsWeakPtr. | 85 // WeakPtr<Derived> from a WeakPtr<Base> without using SupportsWeakPtr. |
86 base::WeakPtrFactory<ITunesDataProvider> weak_factory_; | 86 base::WeakPtrFactory<ITunesDataProvider> weak_factory_; |
87 | 87 |
88 DISALLOW_COPY_AND_ASSIGN(ITunesDataProvider); | 88 DISALLOW_COPY_AND_ASSIGN(ITunesDataProvider); |
89 }; | 89 }; |
90 | 90 |
91 } // namespace itunes | 91 } // namespace itunes |
92 | 92 |
93 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_DATA_PROVIDER_H_ | 93 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_DATA_PROVIDER_H_ |
OLD | NEW |