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

Unified Diff: chrome/browser/media_galleries/fileapi/iapps_finder_impl.h

Issue 86743002: [MediaGalleries] Enable iPhoto gallery (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Take out logging -- found race Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media_galleries/fileapi/iapps_finder_impl.h
diff --git a/chrome/browser/media_galleries/fileapi/iapps_finder_impl.h b/chrome/browser/media_galleries/fileapi/iapps_finder_impl.h
index 95a24aa2d10cf2c9cc7600a2860e31225c4a1b75..defc3885f5cca707caa4836e1ef6b46d985ed31a 100644
--- a/chrome/browser/media_galleries/fileapi/iapps_finder_impl.h
+++ b/chrome/browser/media_galleries/fileapi/iapps_finder_impl.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/callback.h"
+#include "base/files/file_path.h"
#include "chrome/browser/media_galleries/fileapi/iapps_finder.h"
#include "chrome/browser/storage_monitor/storage_info.h"
@@ -15,8 +16,10 @@
class MacPreferences;
#if defined(__OBJC__)
+@class NSArray;
@class NSString;
#else // __OBJC__
+class NSArray;
class NSString;
#endif // __OBJC__
@@ -34,6 +37,9 @@ extern NSString* const kITunesRecentDatabasePathsKey;
// it.
void SetMacPreferencesForTesting(MacPreferences* preferences);
+// Returns an NSArray with a single string entry which is a path value.
+NSArray* NSArrayFromFilePath(const base::FilePath& path);
+
#endif // OS_MACOSX
typedef base::Callback<void(const IAppsFinderCallback&)> IAppsFinderTask;

Powered by Google App Engine
This is Rietveld 408576698