OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_FINDER_MAC_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_FINDER_MAC_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_FINDER_MAC_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_FINDER_MAC_H_ |
7 | 7 |
8 #include "chrome/browser/media_galleries/fileapi/itunes_finder.h" | 8 #include "chrome/browser/media_galleries/fileapi/itunes_finder.h" |
9 | 9 |
| 10 class MacPreferences; |
| 11 |
10 namespace itunes { | 12 namespace itunes { |
11 | 13 |
| 14 extern const char kITunesRecentDatabasePathsKey[]; |
| 15 |
12 class ITunesFinderMac : public ITunesFinder { | 16 class ITunesFinderMac : public ITunesFinder { |
13 public: | 17 public: |
14 explicit ITunesFinderMac(const ITunesFinderCallback& callback); | 18 explicit ITunesFinderMac(const ITunesFinderCallback& callback); |
15 virtual ~ITunesFinderMac(); | 19 virtual ~ITunesFinderMac(); |
16 | 20 |
| 21 static void SetMacPreferencesForTesting(MacPreferences* preferences); |
| 22 |
17 private: | 23 private: |
18 virtual void FindITunesLibraryOnFileThread() OVERRIDE; | 24 virtual void FindITunesLibraryOnFileThread() OVERRIDE; |
19 | 25 |
20 DISALLOW_COPY_AND_ASSIGN(ITunesFinderMac); | 26 DISALLOW_COPY_AND_ASSIGN(ITunesFinderMac); |
21 }; | 27 }; |
22 | 28 |
23 } // namespace itunes | 29 } // namespace itunes |
24 | 30 |
25 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_FINDER_MAC_H_ | 31 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_FINDER_MAC_H_ |
OLD | NEW |