| Index: content/browser/storage_partition_impl.h
|
| diff --git a/content/browser/storage_partition_impl.h b/content/browser/storage_partition_impl.h
|
| index 584f2dbad8627e8f01544dfaf7454c26cd72f2a1..38db188eaa4082ad9f3d5a96d62c80019e5be18a 100644
|
| --- a/content/browser/storage_partition_impl.h
|
| +++ b/content/browser/storage_partition_impl.h
|
| @@ -14,6 +14,7 @@
|
| #include "base/gtest_prod_util.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "content/browser/appcache/chrome_appcache_service.h"
|
| #include "content/browser/background_sync/background_sync_context.h"
|
| #include "content/browser/broadcast_channel/broadcast_channel_provider.h"
|
| @@ -165,19 +166,7 @@ class CONTENT_EXPORT StoragePartitionImpl
|
| StoragePartitionImpl(
|
| BrowserContext* browser_context,
|
| const base::FilePath& partition_path,
|
| - storage::QuotaManager* quota_manager,
|
| - ChromeAppCacheService* appcache_service,
|
| - storage::FileSystemContext* filesystem_context,
|
| - storage::DatabaseTracker* database_tracker,
|
| - DOMStorageContextWrapper* dom_storage_context,
|
| - IndexedDBContextImpl* indexed_db_context,
|
| - CacheStorageContextImpl* cache_storage_context,
|
| - ServiceWorkerContextWrapper* service_worker_context,
|
| - storage::SpecialStoragePolicy* special_storage_policy,
|
| - HostZoomLevelContext* host_zoom_level_context,
|
| - PlatformNotificationContextImpl* platform_notification_context,
|
| - BackgroundSyncContext* background_sync_context,
|
| - scoped_refptr<BroadcastChannelProvider>broadcast_channel_provider);
|
| + storage::SpecialStoragePolicy* special_storage_policy);
|
|
|
| // We will never have both remove_origin be populated and a cookie_matcher.
|
| void ClearDataImpl(uint32_t remove_mask,
|
| @@ -207,6 +196,12 @@ class CONTENT_EXPORT StoragePartitionImpl
|
| void SetMediaURLRequestContext(
|
| net::URLRequestContextGetter* media_url_request_context);
|
|
|
| + // Function used by the quota system to ask the embedder for the
|
| + // storage configuration info.
|
| + void GetTemporaryStorageConfiguration(
|
| + const base::FilePath& profile_path, bool is_incognito,
|
| + const storage::TemporaryStorageConfigurationCallback& callback);
|
| +
|
| base::FilePath partition_path_;
|
| scoped_refptr<net::URLRequestContextGetter> url_request_context_;
|
| scoped_refptr<net::URLRequestContextGetter> media_url_request_context_;
|
| @@ -231,6 +226,8 @@ class CONTENT_EXPORT StoragePartitionImpl
|
| // BrowserContext is destroyed, |this| will be destroyed too.
|
| BrowserContext* browser_context_;
|
|
|
| + base::WeakPtrFactory<StoragePartitionImpl> weak_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl);
|
| };
|
|
|
|
|