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

Issue 13548003: Prevent leaking geolocation permission from Incognito (Closed)

Created:
7 years, 8 months ago by vasilii
Modified:
7 years, 8 months ago
CC:
chromium-reviews, sail+watch_chromium.org, battre
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Prevents leaking geolocation permission from Incognito mode to regular profile. BUG=51204 TEST=GeolocationBrowserTest.NoLeakFromOffTheRecord Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192540

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added a check to the test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -1 line) Patch
M chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/geolocation/geolocation_browsertest.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
vasilii
Hello, Please review the changes. Jonathan: geolocation Eliot: profiles
7 years, 8 months ago (2013-04-03 16:41:09 UTC) #1
battre
+markusheintz I am not sure whether we want this way of changing it. You are ...
7 years, 8 months ago (2013-04-03 16:53:40 UTC) #2
markusheintz_
https://codereview.chromium.org/13548003/diff/1/chrome/browser/geolocation/geolocation_browsertest.cc File chrome/browser/geolocation/geolocation_browsertest.cc (right): https://codereview.chromium.org/13548003/diff/1/chrome/browser/geolocation/geolocation_browsertest.cc#newcode476 chrome/browser/geolocation/geolocation_browsertest.cc:476: SetInfobarResponse(current_url_, false); Should we also check here that the ...
7 years, 8 months ago (2013-04-04 11:27:02 UTC) #3
markusheintz_
Please add a TEST= line to the description. Also could you improve the description a ...
7 years, 8 months ago (2013-04-04 11:28:03 UTC) #4
markusheintz_
In general this LG2M. On 2013/04/04 11:28:03, markusheintz_ wrote: > Please add a TEST= line ...
7 years, 8 months ago (2013-04-04 11:39:16 UTC) #5
vasilii
Dominic, OffTheRecord profile inherits the parent's geo permissions. That functionality is secured by GeolocationBrowserTest.NoInfobarForOffTheRecord. ChromeGeolocationPermissionContext ...
7 years, 8 months ago (2013-04-04 12:11:26 UTC) #6
markusheintz_
On 2013/04/04 12:11:26, vasilii wrote: > Dominic, OffTheRecord profile inherits the parent's geo permissions. That ...
7 years, 8 months ago (2013-04-04 12:14:46 UTC) #7
Elliot Glaysher
On 2013/04/04 12:11:26, vasilii wrote: > Dominic, OffTheRecord profile inherits the parent's geo permissions. That ...
7 years, 8 months ago (2013-04-04 16:38:35 UTC) #8
joth
geolocation/ lgtm rubberstamp
7 years, 8 months ago (2013-04-04 17:16:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/13548003/9002
7 years, 8 months ago (2013-04-05 07:26:19 UTC) #10
commit-bot: I haz the power
7 years, 8 months ago (2013-04-05 10:09:41 UTC) #11
Message was sent while issue was closed.
Change committed as 192540

Powered by Google App Engine
This is Rietveld 408576698