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

Unified Diff: content/public/browser/content_browser_client.h

Issue 17644006: Move files under webkit/browser/fileapi/... to chrome/browser/chromeos/fileapi/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments. Created 7 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
« no previous file with comments | « content/content_tests.gypi ('k') | webkit/browser/chromeos/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index a9fd4d8116f2a36bd548c089575b34d0b1927600..c73c72cb0e1bf180acabffc8c93e60cce831d17b 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -66,9 +66,14 @@ class SelectFilePolicy;
}
namespace fileapi {
+class ExternalMountPoints;
class FileSystemMountPointProvider;
}
+namespace quota {
+class SpecialStoragePolicy;
+}
+
namespace content {
class AccessTokenStore;
@@ -535,8 +540,16 @@ class CONTENT_EXPORT ContentBrowserClient {
std::vector<std::string>* additional_schemes) {}
// Returns additional MountPointProviders for FileSystem API.
+ // |special_storage_policy| and |external_mount_points| are needed in the
+ // additional MountPointProviders. |special_storage_policy| is used to grant
+ // permissions. |external_mount_points| has mount points to create objects
+ // returned by additional MountPointProviders. (Note: although it is named
+ // "provider", it acts creating objects based on mount points provided by
+ // |external_mount_points|).
virtual void GetAdditionalFileSystemMountPointProviders(
const base::FilePath& storage_partition_path,
+ quota::SpecialStoragePolicy* special_storage_policy,
+ fileapi::ExternalMountPoints* external_mount_points,
ScopedVector<fileapi::FileSystemMountPointProvider>*
additional_providers) {}
« no previous file with comments | « content/content_tests.gypi ('k') | webkit/browser/chromeos/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698