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

Unified Diff: content/browser/storage_partition_impl.cc

Issue 1972733002: Delete geofencing implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark histogram suffix as obsolete Created 4 years, 7 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.h ('k') | content/child/blink_platform_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/storage_partition_impl.cc
diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
index 65bf56140be1ff27696d83e7f5f483486b15345b..14cd612065d8aa1945e4463a2b26235069cf2c40 100644
--- a/content/browser/storage_partition_impl.cc
+++ b/content/browser/storage_partition_impl.cc
@@ -16,7 +16,6 @@
#include "base/strings/utf_string_conversions.h"
#include "content/browser/browser_main_loop.h"
#include "content/browser/fileapi/browser_file_system_helper.h"
-#include "content/browser/geofencing/geofencing_manager.h"
#include "content/browser/gpu/shader_disk_cache.h"
#include "content/browser/host_zoom_map_impl.h"
#include "content/browser/notifications/platform_notification_context_impl.h"
@@ -369,7 +368,6 @@ StoragePartitionImpl::StoragePartitionImpl(
ServiceWorkerContextWrapper* service_worker_context,
WebRTCIdentityStore* webrtc_identity_store,
storage::SpecialStoragePolicy* special_storage_policy,
- GeofencingManager* geofencing_manager,
HostZoomLevelContext* host_zoom_level_context,
PlatformNotificationContextImpl* platform_notification_context,
BackgroundSyncContext* background_sync_context)
@@ -384,7 +382,6 @@ StoragePartitionImpl::StoragePartitionImpl(
service_worker_context_(service_worker_context),
webrtc_identity_store_(webrtc_identity_store),
special_storage_policy_(special_storage_policy),
- geofencing_manager_(geofencing_manager),
host_zoom_level_context_(host_zoom_level_context),
platform_notification_context_(platform_notification_context),
background_sync_context_(background_sync_context),
@@ -415,9 +412,6 @@ StoragePartitionImpl::~StoragePartitionImpl() {
if (GetCacheStorageContext())
GetCacheStorageContext()->Shutdown();
- if (GetGeofencingManager())
- GetGeofencingManager()->Shutdown();
-
if (GetPlatformNotificationContext())
GetPlatformNotificationContext()->Shutdown();
@@ -505,10 +499,6 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy(
context->GetSpecialStoragePolicy());
- scoped_refptr<GeofencingManager> geofencing_manager =
- new GeofencingManager(service_worker_context);
- geofencing_manager->Init();
-
scoped_refptr<HostZoomLevelContext> host_zoom_level_context(
new HostZoomLevelContext(
context->CreateZoomLevelDelegate(partition_path)));
@@ -528,8 +518,8 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
dom_storage_context.get(), indexed_db_context.get(),
cache_storage_context.get(), service_worker_context.get(),
webrtc_identity_store.get(), special_storage_policy.get(),
- geofencing_manager.get(), host_zoom_level_context.get(),
- platform_notification_context.get(), background_sync_context.get());
+ host_zoom_level_context.get(), platform_notification_context.get(),
+ background_sync_context.get());
service_worker_context->set_storage_partition(storage_partition);
@@ -581,10 +571,6 @@ ServiceWorkerContextWrapper* StoragePartitionImpl::GetServiceWorkerContext() {
return service_worker_context_.get();
}
-GeofencingManager* StoragePartitionImpl::GetGeofencingManager() {
- return geofencing_manager_.get();
-}
-
HostZoomMap* StoragePartitionImpl::GetHostZoomMap() {
DCHECK(host_zoom_level_context_.get());
return host_zoom_level_context_->GetHostZoomMap();
« no previous file with comments | « content/browser/storage_partition_impl.h ('k') | content/child/blink_platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698