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

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
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..c3f806005be7862fa648abb8ac98f47ed72bb88e 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -562,18 +562,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|).
+ // |browser_context| and |special_storage_policy| are needed in the
+ // additional MountPointProviders. |browser_context| has mount points to
+ // create objects returned by additional MountPointProviders.
+ // |special_storage_policy| is used to grant permissions.
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.

Powered by Google App Engine
This is Rietveld 408576698