Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: chrome/browser/media_galleries/fileapi/itunes_finder_mac.h

Issue 19617005: Define iTunes location for media galleries tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Null ptr Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
12 class ITunesFinderMac : public ITunesFinder { 14 class ITunesFinderMac : public ITunesFinder {
13 public: 15 public:
14 explicit ITunesFinderMac(const ITunesFinderCallback& callback); 16 explicit ITunesFinderMac(const ITunesFinderCallback& callback);
15 virtual ~ITunesFinderMac(); 17 virtual ~ITunesFinderMac();
16 18
19 static void SetMacPreferencesForTesting(MacPreferences* preferences);
Lei Zhang 2013/08/13 20:02:34 make |preferences| a scoped_ptr, so it's obvious i
20
17 private: 21 private:
18 virtual void FindITunesLibraryOnFileThread() OVERRIDE; 22 virtual void FindITunesLibraryOnFileThread() OVERRIDE;
19 23
20 DISALLOW_COPY_AND_ASSIGN(ITunesFinderMac); 24 DISALLOW_COPY_AND_ASSIGN(ITunesFinderMac);
21 }; 25 };
22 26
23 } // namespace itunes 27 } // namespace itunes
24 28
25 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_FINDER_MAC_H_ 29 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_FINDER_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698