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

Issue 645763003: Refactor GeofencingManager to have one instance per StoragePartition. (Closed)

Created:
6 years, 2 months ago by Marijn Kruisselbrink
Modified:
6 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, hendrikw, Ken Russell (switch to Gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Refactor GeofencingManager to have one instance per StoragePartition. Add a new GeofencingService class for the few global tasks GeofencingManager used to do. BUG=383125 Committed: https://crrev.com/0c55c7f631795d3f76b38bc7f6b54f5be7da8f22 Cr-Commit-Position: refs/heads/master@{#300960}

Patch Set 1 : #

Patch Set 2 : fix threading #

Patch Set 3 : have reference to service worker context in geofencing manager #

Total comments: 26

Patch Set 4 : Address comments #

Patch Set 5 : rebase #

Total comments: 2

Patch Set 6 : no virtual with override #

Patch Set 7 : rebase agin #

Total comments: 8

Patch Set 8 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+947 lines, -397 lines) Patch
M chrome/browser/browsing_data/browsing_data_remover_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/geofencing/geofencing_dispatcher_host.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/geofencing/geofencing_dispatcher_host.cc View 4 chunks +8 lines, -16 lines 0 comments Download
M content/browser/geofencing/geofencing_manager.h View 1 2 3 4 5 5 chunks +61 lines, -54 lines 0 comments Download
M content/browser/geofencing/geofencing_manager.cc View 1 2 3 2 chunks +144 lines, -151 lines 0 comments Download
M content/browser/geofencing/geofencing_manager_unittest.cc View 1 2 3 7 chunks +164 lines, -155 lines 0 comments Download
M content/browser/geofencing/geofencing_provider.h View 1 2 3 2 chunks +11 lines, -12 lines 0 comments Download
A content/browser/geofencing/geofencing_registration_delegate.h View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
A content/browser/geofencing/geofencing_service.h View 1 2 3 4 5 6 7 1 chunk +105 lines, -0 lines 0 comments Download
A content/browser/geofencing/geofencing_service.cc View 1 2 3 1 chunk +199 lines, -0 lines 0 comments Download
A content/browser/geofencing/geofencing_service_unittest.cc View 1 2 3 1 chunk +191 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/storage_partition_impl.h View 1 2 3 4 5 3 chunks +4 lines, -1 line 0 comments Download
M content/browser/storage_partition_impl.cc View 1 2 3 4 5 6 7 chunks +18 lines, -3 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/storage_partition.h View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 28 (10 generated)
Marijn Kruisselbrink
As pointed out in https://codereview.chromium.org/629393002/ I really couldn't postpone having to have a per-storage partition ...
6 years, 2 months ago (2014-10-15 20:19:24 UTC) #6
Marijn Kruisselbrink
Actually, I have to figure out the threading situation a bit better. Currently this CL ...
6 years, 2 months ago (2014-10-15 20:31:45 UTC) #7
Marijn Kruisselbrink
On 2014/10/15 20:31:45, Marijn Kruisselbrink wrote: > Actually, I have to figure out the threading ...
6 years, 2 months ago (2014-10-15 23:44:52 UTC) #8
Ken Russell (switch to Gerrit)
Please don't resubmit this CL in its present state. It's causing the browser to hang ...
6 years, 2 months ago (2014-10-16 23:45:36 UTC) #10
Marijn Kruisselbrink
On 2014/10/16 23:45:36, Ken Russell wrote: > Please don't resubmit this CL in its present ...
6 years, 2 months ago (2014-10-16 23:49:25 UTC) #11
Marijn Kruisselbrink
Michael: could you please review this?
6 years, 2 months ago (2014-10-20 20:28:36 UTC) #12
Marijn Kruisselbrink
On 2014/10/20 20:28:36, Marijn Kruisselbrink wrote: > Michael: could you please review this? (uhm, using ...
6 years, 2 months ago (2014-10-20 20:32:12 UTC) #13
Michael van Ouwerkerk
https://codereview.chromium.org/645763003/diff/120001/content/browser/geofencing/geofencing_manager.cc File content/browser/geofencing/geofencing_manager.cc (right): https://codereview.chromium.org/645763003/diff/120001/content/browser/geofencing/geofencing_manager.cc#newcode21 content/browser/geofencing/geofencing_manager.cc:21: const StatusCallback& callback, It seems odd for a struct ...
6 years, 2 months ago (2014-10-21 11:46:41 UTC) #14
Marijn Kruisselbrink
https://codereview.chromium.org/645763003/diff/120001/content/browser/geofencing/geofencing_manager.cc File content/browser/geofencing/geofencing_manager.cc (right): https://codereview.chromium.org/645763003/diff/120001/content/browser/geofencing/geofencing_manager.cc#newcode21 content/browser/geofencing/geofencing_manager.cc:21: const StatusCallback& callback, On 2014/10/21 11:46:40, Michael van Ouwerkerk ...
6 years, 2 months ago (2014-10-21 23:50:07 UTC) #16
Marijn Kruisselbrink
PTAL
6 years, 2 months ago (2014-10-23 03:26:37 UTC) #17
Michael van Ouwerkerk
lgtm
6 years, 2 months ago (2014-10-23 16:06:32 UTC) #18
Marijn Kruisselbrink
+avi for content/ OWNERS (at least for the bits that are not in a geofencing ...
6 years, 2 months ago (2014-10-23 16:24:14 UTC) #20
Avi (use Gerrit)
content non-geo directory LGTM mod one nit you must fix. https://codereview.chromium.org/645763003/diff/180001/content/browser/storage_partition_impl.h File content/browser/storage_partition_impl.h (right): https://codereview.chromium.org/645763003/diff/180001/content/browser/storage_partition_impl.h#newcode46 ...
6 years, 2 months ago (2014-10-23 17:32:46 UTC) #21
michaeln
lgtm https://codereview.chromium.org/645763003/diff/240001/content/browser/geofencing/geofencing_manager.h File content/browser/geofencing/geofencing_manager.h (right): https://codereview.chromium.org/645763003/diff/240001/content/browser/geofencing/geofencing_manager.h#newcode42 content/browser/geofencing/geofencing_manager.h:42: : NON_EXPORTED_BASE(public GeofencingRegistrationDelegate), ah, now i can tell ...
6 years, 2 months ago (2014-10-23 20:27:06 UTC) #23
Marijn Kruisselbrink
https://codereview.chromium.org/645763003/diff/180001/content/browser/storage_partition_impl.h File content/browser/storage_partition_impl.h (right): https://codereview.chromium.org/645763003/diff/180001/content/browser/storage_partition_impl.h#newcode46 content/browser/storage_partition_impl.h:46: virtual GeofencingManager* GetGeofencingManager() override; On 2014/10/23 17:32:45, Avi wrote: ...
6 years, 2 months ago (2014-10-23 20:54:35 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/645763003/260001
6 years, 2 months ago (2014-10-23 20:56:51 UTC) #26
commit-bot: I haz the power
Committed patchset #8 (id:260001)
6 years, 2 months ago (2014-10-23 22:06:30 UTC) #27
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 22:07:07 UTC) #28
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/0c55c7f631795d3f76b38bc7f6b54f5be7da8f22
Cr-Commit-Position: refs/heads/master@{#300960}

Powered by Google App Engine
This is Rietveld 408576698