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

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: 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..91e00351273a030c24ed549390c6f252c03ffaec 100644
--- a/chrome/browser/media_galleries/fileapi/iapps_finder.h
+++ b/chrome/browser/media_galleries/fileapi/iapps_finder.h
@@ -23,6 +23,11 @@ void FindIPhotoLibrary(const IAppsFinderCallback& callback);
void FindITunesLibrary(const IAppsFinderCallback& callback);
+// Returns true if |path| is a directory within the iTunes or iPhoto device
+// specified by |unique_id| (the unique part of the device id).
+bool PathWithinIAppsLibrary(const std::string& unique_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