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

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

Issue 18667002: Pass BrowserContext to drive::MountPointProviderDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/browser/storage_partition_impl.cc ('k') | no next file » | 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 29c8a282dbc381e69f04a81df6a8b490cc317765..b21909def446cda44597a5b85019f2e745059096 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -71,10 +71,6 @@ class ExternalMountPoints;
class FileSystemMountPointProvider;
}
-namespace quota {
-class SpecialStoragePolicy;
-}
-
namespace content {
class AccessTokenStore;
@@ -562,18 +558,15 @@ 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|).
+ // |browser_context| and |special_storage_policy| are needed in the
kinuko 2013/07/04 07:34:54 nit: please remove |special_storage_policy|
hidehiko 2013/07/04 14:51:31 Done.
+ // additional MountPointProviders. |browser_context| has mount points to
+ // create objects returned by additional MountPointProviders, and
+ // SpecialStoragePolicy for permission granting.
virtual void GetAdditionalFileSystemMountPointProviders(
+ BrowserContext* browser_context,
const base::FilePath& storage_partition_path,
- quota::SpecialStoragePolicy* special_storage_policy,
- fileapi::ExternalMountPoints* external_mount_points,
ScopedVector<fileapi::FileSystemMountPointProvider>*
- additional_providers) {}
+ additional_providers) {}
// Allows an embedder to return its own LocationProvider implementation.
// Return NULL to use the default one for the platform to be created.
« no previous file with comments | « content/browser/storage_partition_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698