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

Issue 11188020: Introduce Android variants of ChromeGeolocationPermissionContext, GeolocationConfirmInfoBarDelegate (Closed)

Created:
8 years, 2 months ago by Ramya
Modified:
8 years, 2 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Introduce Android variants of ChromeGeolocationPermissionContext, GeolocationInfobarQueueController, GeolocationConfirmInfoBarDelegate to handle Android-specific flow. Introduce factory create methods for ChromeGeolocationPermissionContext to select the appropriate platform constructor. This CL is part 2/3. Part1 at http://codereview.chromium.org/11183018/ Part3 at http://codereview.chromium.org/11186010/ (WIP) BUG=152236 CQ-DEPEND=8fa4bd0cd62974e61632e7c0420fa2f47ab62554 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163449

Patch Set 1 #

Patch Set 2 : Fix conflict #

Total comments: 23

Patch Set 3 : Updates from comments #

Patch Set 4 : Failed to upload patch #

Patch Set 5 : Failed to upload patch #

Patch Set 6 : Accidentally removed a comment #

Patch Set 7 : Adding GeolocationInfobarQueueControllerAndroid back #

Patch Set 8 : Reverting GeolocationInfobarQueueControllerAndroid #

Patch Set 9 : Missing include #

Total comments: 8

Patch Set 10 : Updates from comments #

Patch Set 11 : Fix build error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -44 lines) Patch
M chrome/browser/geolocation/chrome_geolocation_permission_context.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/geolocation/chrome_geolocation_permission_context.cc View 1 2 3 chunks +0 lines, -26 lines 0 comments Download
A chrome/browser/geolocation/chrome_geolocation_permission_context_android.h View 1 2 3 4 5 6 7 8 9 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc View 1 2 7 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h View 1 2 3 4 5 6 7 8 9 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc View 1 2 3 4 5 6 7 8 9 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
A chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.cc View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.h View 1 2 3 4 5 6 7 8 9 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.cc View 1 2 3 4 5 6 7 8 9 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/browser/geolocation/geolocation_infobar_queue_controller.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/geolocation/geolocation_prefs.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
Ramya
This CL is dependent on http://codereview.chromium.org/11183018/ Still need to find a way to run git ...
8 years, 2 months ago (2012-10-17 06:16:52 UTC) #1
Ramya
8 years, 2 months ago (2012-10-17 06:25:20 UTC) #2
John Knottenbelt
Thanks Ramya! lgtm. We should add tests to check that: - If the Google Location ...
8 years, 2 months ago (2012-10-17 12:19:34 UTC) #3
bulach
thanks all! nits, and one suggestion for a factory function for the infobardelegate, please let ...
8 years, 2 months ago (2012-10-17 13:17:38 UTC) #4
John Knottenbelt
Thanks for review, Marcus! https://codereview.chromium.org/11188020/diff/10003/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h File chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h (right): https://codereview.chromium.org/11188020/diff/10003/chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h#newcode14 chrome/browser/geolocation/geolocation_infobar_queue_controller_android.h:14: : public GeolocationInfoBarQueueController { Thanks, ...
8 years, 2 months ago (2012-10-17 13:39:40 UTC) #5
Ramya
PTAL Tests will be added as part of http://codereview.chromium.org/11186010/ once the android functionality has been ...
8 years, 2 months ago (2012-10-17 21:43:31 UTC) #6
Ramya
bulach, jknotten: I had to add back GeolocationInfobarQueueControllerAndroid since it is needed for the next ...
8 years, 2 months ago (2012-10-18 00:22:31 UTC) #7
willchan no longer on Chromium
lgtm
8 years, 2 months ago (2012-10-18 00:27:35 UTC) #8
Lei Zhang
gypi file lgtm
8 years, 2 months ago (2012-10-18 00:32:41 UTC) #9
John Knottenbelt
Hi Ramya, in order to avoid subclassing the queue controller, the GeolocationInfobarDelegateAndroid will have to ...
8 years, 2 months ago (2012-10-18 08:49:11 UTC) #10
Ramya
jknotten, bulach PTAL. Sorry forgot to send this out yesterday.
8 years, 2 months ago (2012-10-19 18:24:58 UTC) #11
John Knottenbelt
lgtm. Thanks, Ramya!
8 years, 2 months ago (2012-10-22 10:03:49 UTC) #12
bulach
lgtm, thanks ramya! just nits below, feel free to go ahead once they're addressed: http://codereview.chromium.org/11188020/diff/7025/chrome/browser/geolocation/chrome_geolocation_permission_context.h ...
8 years, 2 months ago (2012-10-22 13:01:03 UTC) #13
Jay Civelli
LGTM for chrome/tests
8 years, 2 months ago (2012-10-22 16:30:58 UTC) #14
Ramya
http://codereview.chromium.org/11188020/diff/7025/chrome/browser/geolocation/chrome_geolocation_permission_context.h File chrome/browser/geolocation/chrome_geolocation_permission_context.h (right): http://codereview.chromium.org/11188020/diff/7025/chrome/browser/geolocation/chrome_geolocation_permission_context.h#newcode21 chrome/browser/geolocation/chrome_geolocation_permission_context.h:21: On 2012/10/22 13:01:03, bulach wrote: > nit: here and ...
8 years, 2 months ago (2012-10-22 20:58:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cramya@chromium.org/11188020/32001
8 years, 2 months ago (2012-10-22 21:11:27 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cramya@chromium.org/11188020/31006
8 years, 2 months ago (2012-10-22 21:28:05 UTC) #17
commit-bot: I haz the power
8 years, 2 months ago (2012-10-23 00:12:01 UTC) #18
Change committed as 163449

Powered by Google App Engine
This is Rietveld 408576698