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

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

Issue 329643002: Media Galleries: Allow readding blacklisted iApps libraries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add a short unittest for the preferences lookup Created 6 years, 6 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.h
diff --git a/chrome/browser/media_galleries/fileapi/iapps_finder.h b/chrome/browser/media_galleries/fileapi/iapps_finder.h
index a90219a52527b51fa805d1c130baaa39e59d9875..4184cc3c380251ae61d9c9d6b91c60447c26096b 100644
--- a/chrome/browser/media_galleries/fileapi/iapps_finder.h
+++ b/chrome/browser/media_galleries/fileapi/iapps_finder.h
@@ -23,6 +23,15 @@ void FindIPhotoLibrary(const IAppsFinderCallback& callback);
void FindITunesLibrary(const IAppsFinderCallback& callback);
+// These methods returns true if |path| should be interpreted as the device
+// indicated by |device_id|.
vandebo (ex-Chrome) 2014/06/11 18:36:46 Given this description, I think you don't need to
tommycli 2014/06/11 19:26:39 Done.
+
+bool PathIndicatesIPhotoLibrary(const std::string& device_id,
+ const base::FilePath& path);
+
+bool PathIndicatesITunesLibrary(const std::string& device_id,
+ const base::FilePath& path);
+
} // namespace iapps
#endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IAPPS_FINDER_H_

Powered by Google App Engine
This is Rietveld 408576698