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

Issue 2885763002: Only show search geolocation disclosure on omnibox searches or API use. (Closed)

Created:
3 years, 7 months ago by benwells
Modified:
3 years, 7 months ago
Reviewers:
raymes
CC:
chromium-reviews, mlamouri+watch-permissions_chromium.org, mcasas+geolocation_chromium.org, raymes+watch_chromium.org, mlamouri+watch-geolocation_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Only show search geolocation disclosure on omnibox searches or API use. Previously the disclosure was shown on all navigations to the search engine origin, which can show disclosures when geolocation is not being used. Now it is only shown for omnibox searches, which send the X-Geo header, or for the geolocation API use. BUG=719904 Review-Url: https://codereview.chromium.org/2885763002 Cr-Commit-Position: refs/heads/master@{#472707} Committed: https://chromium.googlesource.com/chromium/src/+/44b1737f716e05cdf18fd566d011ce9e915416d0

Patch Set 1 #

Patch Set 2 : Fix tests #

Total comments: 2

Patch Set 3 : Add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -35 lines) Patch
M chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.h View 1 2 2 chunks +13 lines, -2 lines 0 comments Download
M chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc View 1 5 chunks +65 lines, -32 lines 0 comments Download
M chrome/browser/geolocation/geolocation_permission_context_android.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (12 generated)
benwells
3 years, 7 months ago (2017-05-17 07:19:34 UTC) #10
benwells
3 years, 7 months ago (2017-05-17 07:19:37 UTC) #11
raymes
lg. Is it hard to add a test for this case in chrome/android/javatests/src/org/chromium/chrome/browser/infobar/SearchGeolocationDisclosureInfoBarTest.java ? Thanks! ...
3 years, 7 months ago (2017-05-17 23:56:07 UTC) #12
benwells
I looked at adding the test. To do what I was planning would add significant ...
3 years, 7 months ago (2017-05-18 04:50:05 UTC) #13
raymes
lgtm
3 years, 7 months ago (2017-05-18 05:22:43 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2885763002/40001
3 years, 7 months ago (2017-05-18 05:46:04 UTC) #16
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 06:31:36 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/44b1737f716e05cdf18fd566d011...

Powered by Google App Engine
This is Rietveld 408576698