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

Issue 2661303003: Improve performance of search geolocation disclosure check. (Closed)

Created:
3 years, 10 months ago by benwells
Modified:
3 years, 10 months ago
Reviewers:
raymes
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve performance of search geolocation disclosure check. This check is run for all navigations, but the disclosure is only shown in a small number of cases. This change reorders the checks to do the more expensive Android permission check later in the process. BUG=681663 Review-Url: https://codereview.chromium.org/2661303003 Cr-Commit-Position: refs/heads/master@{#447628} Committed: https://chromium.googlesource.com/chromium/src/+/c7b66b0e4837e533f8ec3edf9125144e5e3430bd

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move later #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
benwells
3 years, 10 months ago (2017-01-31 22:28:53 UTC) #6
raymes
https://codereview.chromium.org/2661303003/diff/1/chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc File chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc (right): https://codereview.chromium.org/2661303003/diff/1/chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc#newcode117 chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc:117: return; As discussed in person, we may want to ...
3 years, 10 months ago (2017-02-01 18:04:41 UTC) #7
benwells
All moved and tests all seem to pass...
3 years, 10 months ago (2017-02-01 21:13:49 UTC) #12
raymes
lgtm
3 years, 10 months ago (2017-02-01 22:43:07 UTC) #13
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/2661303003/20001
3 years, 10 months ago (2017-02-01 22:46:28 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-01 22:52:58 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/c7b66b0e4837e533f8ec3edf9125...

Powered by Google App Engine
This is Rietveld 408576698