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

Unified Diff: content/browser/storage_partition_impl.h

Issue 645763003: Refactor GeofencingManager to have one instance per StoragePartition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 6 years, 2 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/browser/storage_partition_impl.h
diff --git a/content/browser/storage_partition_impl.h b/content/browser/storage_partition_impl.h
index f0c12d420837021209023e885a39c1e9c3084d0c..30377392100af9ee75d03a15e1462b585eeb1b33 100644
--- a/content/browser/storage_partition_impl.h
+++ b/content/browser/storage_partition_impl.h
@@ -43,6 +43,7 @@ class StoragePartitionImpl : public StoragePartition {
DOMStorageContextWrapper* GetDOMStorageContext() override;
IndexedDBContextImpl* GetIndexedDBContext() override;
ServiceWorkerContextWrapper* GetServiceWorkerContext() override;
+ GeofencingManager* GetGeofencingManager() override;
void ClearDataForOrigin(uint32 remove_mask,
uint32 quota_storage_remove_mask,
@@ -116,7 +117,8 @@ class StoragePartitionImpl : public StoragePartition {
IndexedDBContextImpl* indexed_db_context,
ServiceWorkerContextWrapper* service_worker_context,
WebRTCIdentityStore* webrtc_identity_store,
- storage::SpecialStoragePolicy* special_storage_policy);
+ storage::SpecialStoragePolicy* special_storage_policy,
+ GeofencingManager* geofencing_manager);
void ClearDataImpl(uint32 remove_mask,
uint32 quota_storage_remove_mask,
@@ -156,6 +158,7 @@ class StoragePartitionImpl : public StoragePartition {
scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_;
scoped_refptr<WebRTCIdentityStore> webrtc_identity_store_;
scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_;
+ scoped_refptr<GeofencingManager> geofencing_manager_;
DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl);
};
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/storage_partition_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698