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

Issue 815343005: Clean up geolocation code now that it's all upstream. (Closed)

Created:
5 years, 11 months ago by newt (away)
Modified:
5 years, 11 months ago
CC:
chromium-reviews, mlamouri+watch-geolocation_chromium.org, Michael van Ouwerkerk
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up geolocation code now that it's all upstream. GoogleLocationSettingsHelper::Create() is unused and can be deleted. Likewise for ChromeShellGoogleLocationSettingsHelper. The remaining classes' names have been shortened to save precious ink. LocationSettings.java is now always accessed on the UI thread, so it no longer needs to use ThreadUtils.runOnUiThread(). BUG=448400 Committed: https://crrev.com/e587c6d4dd88d9105c4da5130258f7b9fb09960d Cr-Commit-Position: refs/heads/master@{#312443}

Patch Set 1 #

Total comments: 6

Patch Set 2 : removed unused code #

Total comments: 5

Patch Set 3 : GYP/GN changes and Ted's nits #

Patch Set 4 : renamed IsSystemLocationEnabled -> IsLocationEnabled #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -286 lines) Patch
M chrome/android/BUILD.gn View 1 2 2 chunks +1 line, -11 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/LocationSettings.java View 1 2 3 chunks +6 lines, -16 lines 0 comments Download
D chrome/android/shell/chrome_shell_google_location_settings_helper.h View 1 chunk +0 lines, -27 lines 0 comments Download
D chrome/android/shell/chrome_shell_google_location_settings_helper.cc View 1 chunk +0 lines, -23 lines 0 comments Download
D chrome/browser/android/app_google_location_settings_helper.h View 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/browser/android/app_google_location_settings_helper.cc View 1 chunk +0 lines, -32 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 3 chunks +2 lines, -2 lines 0 comments Download
D chrome/browser/android/google_location_settings_helper.h View 1 chunk +0 lines, -32 lines 0 comments Download
A chrome/browser/android/location_settings.h View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/browser/android/location_settings_impl.h View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/android/location_settings_impl.cc View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
D chrome/browser/android/mock_google_location_settings_helper.h View 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/browser/android/mock_google_location_settings_helper.cc View 1 chunk +0 lines, -39 lines 0 comments Download
A chrome/browser/android/mock_location_settings.h View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/browser/android/mock_location_settings.cc View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/geolocation/geolocation_permission_context_android.h View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/geolocation/geolocation_permission_context_android.cc View 1 2 3 4 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/geolocation/geolocation_permission_context_unittest.cc View 6 chunks +9 lines, -10 lines 0 comments Download
M chrome/chrome_browser.gypi View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/chrome_shell.gypi View 1 2 1 chunk +1 line, -8 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +3 lines, -6 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
newt (away)
tedchoc/cjhopman: PTAL chrome_shell.gypi and BUILD.gn. I've deleted the only files that were part of the ...
5 years, 11 months ago (2015-01-17 01:44:22 UTC) #2
newt (away)
mvanouwerkerk: PTAL
5 years, 11 months ago (2015-01-17 01:45:30 UTC) #4
Michael van Ouwerkerk
Just some nits. https://codereview.chromium.org/815343005/diff/1/chrome/android/BUILD.gn File chrome/android/BUILD.gn (right): https://codereview.chromium.org/815343005/diff/1/chrome/android/BUILD.gn#newcode171 chrome/android/BUILD.gn:171: #sources = [ Did you mean ...
5 years, 11 months ago (2015-01-19 12:03:14 UTC) #5
newt (away)
https://codereview.chromium.org/815343005/diff/1/chrome/android/BUILD.gn File chrome/android/BUILD.gn (right): https://codereview.chromium.org/815343005/diff/1/chrome/android/BUILD.gn#newcode171 chrome/android/BUILD.gn:171: #sources = [ On 2015/01/19 12:03:14, Michael van Ouwerkerk ...
5 years, 11 months ago (2015-01-20 16:58:52 UTC) #6
Ted C
lgtm https://codereview.chromium.org/815343005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/LocationSettings.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/LocationSettings.java (right): https://codereview.chromium.org/815343005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/LocationSettings.java#newcode54 chrome/android/java/src/org/chromium/chrome/browser/preferences/LocationSettings.java:54: LocationSettings settings = LocationSettings.getInstance(); Should we have a ...
5 years, 11 months ago (2015-01-20 17:52:19 UTC) #7
newt (away)
https://codereview.chromium.org/815343005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/LocationSettings.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/LocationSettings.java (right): https://codereview.chromium.org/815343005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/LocationSettings.java#newcode54 chrome/android/java/src/org/chromium/chrome/browser/preferences/LocationSettings.java:54: LocationSettings settings = LocationSettings.getInstance(); On 2015/01/20 17:52:18, Ted C ...
5 years, 11 months ago (2015-01-20 22:46:08 UTC) #8
newt (away)
Chris, are you happy with chrome/android/BUILD.gn and chrome_shell.gypi?
5 years, 11 months ago (2015-01-20 22:46:48 UTC) #9
cjhopman
yeah, lgtm
5 years, 11 months ago (2015-01-20 23:58:03 UTC) #10
Michael van Ouwerkerk
lgtm
5 years, 11 months ago (2015-01-21 12:11:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815343005/60001
5 years, 11 months ago (2015-01-21 17:53:57 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 11 months ago (2015-01-21 20:45:42 UTC) #14
commit-bot: I haz the power
5 years, 11 months ago (2015-01-21 20:46:59 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e587c6d4dd88d9105c4da5130258f7b9fb09960d
Cr-Commit-Position: refs/heads/master@{#312443}

Powered by Google App Engine
This is Rietveld 408576698