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

Issue 15716012: Add a Preference for Google Services to Use the User's Location (Closed)

Created:
7 years, 6 months ago by robliao
Modified:
7 years, 6 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, jar (doing other things), sail+watch_chromium.org, arv+watch_chromium.org, asvitkine+watch_chromium.org, Ilya Sherman
Base URL:
https://src.chromium.org/chrome/trunk/src/
Visibility:
Public.

Description

Add a Preference for Google Services to Use the User's Location Adds a new Chrome preference (googlegeolocationaccess.enabled) and hides it behind the ENABLE_GOOGLE_NOW compiler define as well as the kEnableGoogleNowIntegration switch BUG=164227 TEST= 1) Go to chrome://flags 2) Enable Google Now 3) Restart Chrome 4) Go to chrome://settings 5) Click "Show Advanced Settings..." 6) Click "Content Settings..." 7) Observe the checkbox in the location section Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=205841

Patch Set 1 #

Total comments: 30

Patch Set 2 : Sync to Latest #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 5

Patch Set 5 : #

Total comments: 22

Patch Set 6 : Nits Fixes #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -1 line) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/content_settings.html View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/geolocation_options.js View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options.js View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options_bundle.js View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/geolocation_options_handler.h View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/geolocation_options_handler.cc View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/options_ui.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M tools/metrics/actions/chromeactions.txt View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
robliao
7 years, 6 months ago (2013-06-06 23:03:44 UTC) #1
vadimt
https://codereview.chromium.org/15716012/diff/1/chrome/browser/profiles/profile.cc File chrome/browser/profiles/profile.cc (right): https://codereview.chromium.org/15716012/diff/1/chrome/browser/profiles/profile.cc#newcode85 chrome/browser/profiles/profile.cc:85: registry->RegisterBooleanPref( #ifdef? https://codereview.chromium.org/15716012/diff/1/chrome/browser/profiles/profile.cc#newcode86 chrome/browser/profiles/profile.cc:86: prefs::kComponentGeolocationEnabled, Why do we have ...
7 years, 6 months ago (2013-06-07 00:56:07 UTC) #2
robliao
Add an Option for Google Services to Use the User's Location Adds a new Chrome ...
7 years, 6 months ago (2013-06-07 06:29:57 UTC) #3
robliao
https://codereview.chromium.org/15716012/diff/1/chrome/browser/profiles/profile.cc File chrome/browser/profiles/profile.cc (right): https://codereview.chromium.org/15716012/diff/1/chrome/browser/profiles/profile.cc#newcode85 chrome/browser/profiles/profile.cc:85: registry->RegisterBooleanPref( On 2013/06/07 00:56:07, vadimt wrote: > #ifdef? Done. ...
7 years, 6 months ago (2013-06-07 07:34:36 UTC) #4
vadimt
https://codereview.chromium.org/15716012/diff/1/chrome/browser/profiles/profile.cc File chrome/browser/profiles/profile.cc (right): https://codereview.chromium.org/15716012/diff/1/chrome/browser/profiles/profile.cc#newcode86 chrome/browser/profiles/profile.cc:86: prefs::kComponentGeolocationEnabled, On 2013/06/07 07:34:36, Robert Liao wrote: > This ...
7 years, 6 months ago (2013-06-07 17:16:27 UTC) #5
robliao
https://codereview.chromium.org/15716012/diff/1/chrome/browser/profiles/profile.cc File chrome/browser/profiles/profile.cc (right): https://codereview.chromium.org/15716012/diff/1/chrome/browser/profiles/profile.cc#newcode86 chrome/browser/profiles/profile.cc:86: prefs::kComponentGeolocationEnabled, Changed to kGoogleGeolocationAccessEnabled On 2013/06/07 17:16:28, vadimt wrote: ...
7 years, 6 months ago (2013-06-07 18:35:38 UTC) #6
vadimt
https://codereview.chromium.org/15716012/diff/65001/chrome/browser/ui/webui/options/content_settings_handler.cc File chrome/browser/ui/webui/options/content_settings_handler.cc (right): https://codereview.chromium.org/15716012/diff/65001/chrome/browser/ui/webui/options/content_settings_handler.cc#newcode303 chrome/browser/ui/webui/options/content_settings_handler.cc:303: IDS_GEOLOCATION_GOOGLE_ACCESS_ENABLE }, Should end with _CHKBOX like IDS_COOKIES_LSO_CLEAR_WHEN_CLOSE_CHKBOX?
7 years, 6 months ago (2013-06-07 19:13:44 UTC) #7
robliao
https://codereview.chromium.org/15716012/diff/65001/chrome/browser/ui/webui/options/content_settings_handler.cc File chrome/browser/ui/webui/options/content_settings_handler.cc (right): https://codereview.chromium.org/15716012/diff/65001/chrome/browser/ui/webui/options/content_settings_handler.cc#newcode303 chrome/browser/ui/webui/options/content_settings_handler.cc:303: IDS_GEOLOCATION_GOOGLE_ACCESS_ENABLE }, A lot of the checks strings in ...
7 years, 6 months ago (2013-06-07 20:03:58 UTC) #8
robliao
https://codereview.chromium.org/15716012/diff/65001/chrome/browser/ui/webui/options/content_settings_handler.cc File chrome/browser/ui/webui/options/content_settings_handler.cc (right): https://codereview.chromium.org/15716012/diff/65001/chrome/browser/ui/webui/options/content_settings_handler.cc#newcode303 chrome/browser/ui/webui/options/content_settings_handler.cc:303: IDS_GEOLOCATION_GOOGLE_ACCESS_ENABLE }, *checkbox strings On 2013/06/07 20:03:59, Robert Liao ...
7 years, 6 months ago (2013-06-07 20:04:52 UTC) #9
vadimt
https://codereview.chromium.org/15716012/diff/65001/chrome/browser/ui/webui/options/content_settings_handler.cc File chrome/browser/ui/webui/options/content_settings_handler.cc (right): https://codereview.chromium.org/15716012/diff/65001/chrome/browser/ui/webui/options/content_settings_handler.cc#newcode303 chrome/browser/ui/webui/options/content_settings_handler.cc:303: IDS_GEOLOCATION_GOOGLE_ACCESS_ENABLE }, On 2013/06/07 20:03:59, Robert Liao wrote: > ...
7 years, 6 months ago (2013-06-07 20:14:39 UTC) #10
robliao
https://codereview.chromium.org/15716012/diff/65001/chrome/browser/ui/webui/options/content_settings_handler.cc File chrome/browser/ui/webui/options/content_settings_handler.cc (right): https://codereview.chromium.org/15716012/diff/65001/chrome/browser/ui/webui/options/content_settings_handler.cc#newcode303 chrome/browser/ui/webui/options/content_settings_handler.cc:303: IDS_GEOLOCATION_GOOGLE_ACCESS_ENABLE }, Ah, I see. Going forward, it seems ...
7 years, 6 months ago (2013-06-07 20:18:07 UTC) #11
vadimt
lgtm
7 years, 6 months ago (2013-06-07 20:20:16 UTC) #12
robliao
estade: Please provide owner approval. Thanks!
7 years, 6 months ago (2013-06-07 20:25:11 UTC) #13
robliao
Owners below, please provide approval. cpu: chrome/app/generated_resources.grd sail: chrome/browser/profiles/profile.cc estade: chrome/browser/resources/options/content_settings.html chrome/browser/resources/options/geolocation_options.js chrome/browser/resources/options/options.js chrome/browser/resources/options/options_bundle.js chrome/browser/ui/webui/options/content_settings_handler.cc ...
7 years, 6 months ago (2013-06-07 20:37:20 UTC) #14
sail
This CL needs: - a BUG= line - a TEST= line that describes, step by ...
7 years, 6 months ago (2013-06-07 21:22:37 UTC) #15
robliao
Done
7 years, 6 months ago (2013-06-07 21:33:59 UTC) #16
cpu_(ooo_6.6-7.5)
grd changes do not require owner's approval anymore.
7 years, 6 months ago (2013-06-07 21:36:41 UTC) #17
robliao
Update issue
7 years, 6 months ago (2013-06-07 22:36:06 UTC) #18
robliao
Reopening
7 years, 6 months ago (2013-06-07 22:38:53 UTC) #19
robliao
Removing cpu from the review list
7 years, 6 months ago (2013-06-07 22:57:03 UTC) #20
sail
profiles LGTM
7 years, 6 months ago (2013-06-10 17:24:54 UTC) #21
robliao
Remaining reviewers: ptal! Thanks! estade: chrome/browser/resources/options/content_settings.html chrome/browser/resources/options/geolocation_options.js chrome/browser/resources/options/options.js chrome/browser/resources/options/options_bundle.js chrome/browser/ui/webui/options/content_settings_handler.cc chrome/browser/ui/webui/options/geolocation_options_handler.h chrome/browser/ui/webui/options/geolocation_options_handler.cc chrome/browser/ui/webui/options/options_ui.cc darin: chrome/chrome_browser_ui.gypi ...
7 years, 6 months ago (2013-06-10 17:28:37 UTC) #22
Evan Stade
just nits, otherwise lgtm https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/content_settings.html File chrome/browser/resources/options/content_settings.html (right): https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/content_settings.html#newcode288 chrome/browser/resources/options/content_settings.html:288: <if expr="pp_ifdef('enable_google_now')"> if expr should ...
7 years, 6 months ago (2013-06-10 18:06:09 UTC) #23
robliao
Nits fixes https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/content_settings.html File chrome/browser/resources/options/content_settings.html (right): https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/content_settings.html#newcode288 chrome/browser/resources/options/content_settings.html:288: <if expr="pp_ifdef('enable_google_now')"> On 2013/06/10 18:06:10, Evan Stade ...
7 years, 6 months ago (2013-06-10 18:58:48 UTC) #24
Evan Stade
https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/options.js File chrome/browser/resources/options/options.js (right): https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/options.js#newcode21 chrome/browser/resources/options/options.js:21: var GeolocationOptions = options.GeolocationOptions; On 2013/06/10 18:58:49, Robert Liao ...
7 years, 6 months ago (2013-06-10 20:35:03 UTC) #25
robliao
https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/options.js File chrome/browser/resources/options/options.js (right): https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/options.js#newcode21 chrome/browser/resources/options/options.js:21: var GeolocationOptions = options.GeolocationOptions; In this directory, options_bundle.js follows ...
7 years, 6 months ago (2013-06-10 20:58:28 UTC) #26
Evan Stade
https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/options.js File chrome/browser/resources/options/options.js (right): https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/options.js#newcode21 chrome/browser/resources/options/options.js:21: var GeolocationOptions = options.GeolocationOptions; On 2013/06/10 20:58:29, Robert Liao ...
7 years, 6 months ago (2013-06-10 21:15:18 UTC) #27
robliao
https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/options.js File chrome/browser/resources/options/options.js (right): https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/options.js#newcode21 chrome/browser/resources/options/options.js:21: var GeolocationOptions = options.GeolocationOptions; I agree with you that ...
7 years, 6 months ago (2013-06-10 21:29:45 UTC) #28
Ilya Sherman
lgtm
7 years, 6 months ago (2013-06-10 21:42:28 UTC) #29
Evan Stade
https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/options.js File chrome/browser/resources/options/options.js (right): https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/options.js#newcode21 chrome/browser/resources/options/options.js:21: var GeolocationOptions = options.GeolocationOptions; On 2013/06/10 21:29:46, Robert Liao ...
7 years, 6 months ago (2013-06-10 21:51:38 UTC) #30
robliao
https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/options.js File chrome/browser/resources/options/options.js (right): https://codereview.chromium.org/15716012/diff/67002/chrome/browser/resources/options/options.js#newcode21 chrome/browser/resources/options/options.js:21: var GeolocationOptions = options.GeolocationOptions; Indeed it's a matter of ...
7 years, 6 months ago (2013-06-10 22:04:16 UTC) #31
robliao
Sky: Can you provide owner approval for the files below? Thanks! sky: chrome/chrome_browser_ui.gypi chrome/common/pref_names.h chrome/common/pref_names.cc
7 years, 6 months ago (2013-06-11 22:02:29 UTC) #32
robliao
Updating to reflect r205649 changes.
7 years, 6 months ago (2013-06-11 22:11:21 UTC) #33
sky
LGTM
7 years, 6 months ago (2013-06-11 23:25:54 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/15716012/133001
7 years, 6 months ago (2013-06-12 05:42:38 UTC) #35
commit-bot: I haz the power
Retried try job too often on linux_clang for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_clang&number=115254
7 years, 6 months ago (2013-06-12 06:05:37 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/15716012/133001
7 years, 6 months ago (2013-06-12 15:27:14 UTC) #37
commit-bot: I haz the power
7 years, 6 months ago (2013-06-12 17:16:33 UTC) #38
Message was sent while issue was closed.
Change committed as 205841

Powered by Google App Engine
This is Rietveld 408576698