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

Issue 1141004: Uses GeolocationContentSettingsMap on GeolocationPermissionContext to persist settings. (Closed)

Created:
10 years, 9 months ago by bulach
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Uses GeolocationContentSettingsMap on GeolocationPermissionContext to persist settings. TEST=geolocation_browsertest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42757

Patch Set 1 : Patchset. #

Total comments: 13

Patch Set 2 : Comments. #

Patch Set 3 : Fixes invariant for geolocation on extensions. #

Total comments: 2

Patch Set 4 : Comments #

Patch Set 5 : Merge #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -51 lines) Patch
M chrome/browser/geolocation/geolocation_browsertest.cc View 1 2 3 4 7 chunks +25 lines, -30 lines 1 comment Download
M chrome/browser/geolocation/geolocation_permission_context.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/geolocation/geolocation_permission_context.cc View 1 2 3 4 4 chunks +45 lines, -20 lines 2 comments Download

Messages

Total messages: 12 (0 generated)
joth
Generally LGTM, just my stock grumble about GetOrigin and a couple nits. http://codereview.chromium.org/1141004/diff/2001/3001 File chrome/browser/geolocation/geolocation_browsertest.cc ...
10 years, 9 months ago (2010-03-22 13:21:19 UTC) #1
bulach
thanks joth! merged/resolved with the other change, another look please? http://codereview.chromium.org/1141004/diff/2001/3001 File chrome/browser/geolocation/geolocation_browsertest.cc (right): http://codereview.chromium.org/1141004/diff/2001/3001#newcode399 ...
10 years, 9 months ago (2010-03-22 14:13:17 UTC) #2
joth
LGTM - couple remaining nits http://codereview.chromium.org/1141004/diff/2001/3001 File chrome/browser/geolocation/geolocation_browsertest.cc (right): http://codereview.chromium.org/1141004/diff/2001/3001#newcode399 chrome/browser/geolocation/geolocation_browsertest.cc:399: // Checks infobar will ...
10 years, 9 months ago (2010-03-23 11:20:38 UTC) #3
bulach
thanks joth! comments addressed, will submit shortly. http://codereview.chromium.org/1141004/diff/2001/3001 File chrome/browser/geolocation/geolocation_browsertest.cc (right): http://codereview.chromium.org/1141004/diff/2001/3001#newcode399 chrome/browser/geolocation/geolocation_browsertest.cc:399: // Checks ...
10 years, 9 months ago (2010-03-23 11:54:22 UTC) #4
Peter Kasting
This is rather drive-by, but did you guys ever run the general design of the ...
10 years, 9 months ago (2010-03-23 17:31:06 UTC) #5
bulach
Thanks Peter! Darin: we (myself, jorlow and you) chatted quite a while ago when I ...
10 years, 9 months ago (2010-03-23 18:16:19 UTC) #6
Peter Kasting
On Tue, Mar 23, 2010 at 11:16 AM, <bulach@chromium.org> wrote: > Darin: we (myself, jorlow ...
10 years, 9 months ago (2010-03-23 18:23:11 UTC) #7
joth
On 23 March 2010 18:23, Peter Kasting <pkasting@chromium.org> wrote: > On Tue, Mar 23, 2010 ...
10 years, 9 months ago (2010-03-24 11:48:17 UTC) #8
Peter Kasting
On Wed, Mar 24, 2010 at 4:47 AM, Jonathan Dixon <joth@chromium.org> wrote: > this class ...
10 years, 9 months ago (2010-03-24 18:32:05 UTC) #9
joth
LGTM. Lets ship it! http://codereview.chromium.org/1141004/diff/27001/28002 File chrome/browser/geolocation/geolocation_permission_context.cc (right): http://codereview.chromium.org/1141004/diff/27001/28002#newcode163 chrome/browser/geolocation/geolocation_permission_context.cc:163: tab_util::GetTabContentsByID(render_process_id, render_view_id); should we have ...
10 years, 9 months ago (2010-03-26 13:53:06 UTC) #10
bulach
thanks joth! reply inline: http://codereview.chromium.org/1141004/diff/27001/28002 File chrome/browser/geolocation/geolocation_permission_context.cc (right): http://codereview.chromium.org/1141004/diff/27001/28002#newcode163 chrome/browser/geolocation/geolocation_permission_context.cc:163: tab_util::GetTabContentsByID(render_process_id, render_view_id); On 2010/03/26 13:53:06, ...
10 years, 9 months ago (2010-03-26 14:22:04 UTC) #11
TVL
10 years, 9 months ago (2010-03-26 15:24:16 UTC) #12
drive by

http://codereview.chromium.org/1141004/diff/27001/28001
File chrome/browser/geolocation/geolocation_browsertest.cc (right):

http://codereview.chromium.org/1141004/diff/27001/28001#newcode443
chrome/browser/geolocation/geolocation_browsertest.cc:443: #define
MAYBE_InfobarForOffTheRecord InfobarForOffTheRecord
I think these should all be "NoInfo...", they don't actually map to the test
below right now.

Powered by Google App Engine
This is Rietveld 408576698