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

Issue 55123002: Requesting background permission only when user is opted in to GN (Closed)

Created:
7 years, 1 month ago by vadimt
Modified:
7 years, 1 month ago
Reviewers:
robliao, rgustafson, skare_
CC:
chromium-reviews, arv+watch_chromium.org
Visibility:
Public.

Description

Requesting background permission only when user is opted in to GN. BUG=164227 TEST=Opt the user out and in, and check that next poll sets/unsets background permission correspondingly. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232464

Patch Set 1 #

Total comments: 8

Patch Set 2 : robliao@ comments with rebase #

Patch Set 3 : More robliao@ comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -21 lines) Patch
M chrome/browser/resources/google_now/background.js View 1 2 7 chunks +32 lines, -16 lines 0 comments Download
M chrome/browser/resources/google_now/background_unittest.gtestjs View 1 10 chunks +25 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
vadimt
7 years, 1 month ago (2013-10-31 18:15:56 UTC) #1
robliao
https://codereview.chromium.org/55123002/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/55123002/diff/1/chrome/browser/resources/google_now/background.js#newcode488 chrome/browser/resources/google_now/background.js:488: onStateChange(); Comment that if we make it here, Google ...
7 years, 1 month ago (2013-10-31 18:29:40 UTC) #2
vadimt
Comments + rebase. https://codereview.chromium.org/55123002/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/55123002/diff/1/chrome/browser/resources/google_now/background.js#newcode488 chrome/browser/resources/google_now/background.js:488: onStateChange(); On 2013/10/31 18:29:41, Robert Liao ...
7 years, 1 month ago (2013-10-31 20:14:08 UTC) #3
rgustafson
lgtm
7 years, 1 month ago (2013-10-31 22:48:22 UTC) #4
robliao
https://codereview.chromium.org/55123002/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/55123002/diff/1/chrome/browser/resources/google_now/background.js#newcode932 chrome/browser/resources/google_now/background.js:932: chrome.storage.local.set({googleNowEnabled: false}); This would be an excellent place for ...
7 years, 1 month ago (2013-10-31 23:05:00 UTC) #5
vadimt
https://codereview.chromium.org/55123002/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/55123002/diff/1/chrome/browser/resources/google_now/background.js#newcode932 chrome/browser/resources/google_now/background.js:932: chrome.storage.local.set({googleNowEnabled: false}); On 2013/10/31 23:05:01, Robert Liao wrote: > ...
7 years, 1 month ago (2013-11-01 00:49:47 UTC) #6
robliao
lgtm
7 years, 1 month ago (2013-11-01 00:52:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/55123002/140001
7 years, 1 month ago (2013-11-01 14:07:33 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=170590
7 years, 1 month ago (2013-11-01 15:28:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/55123002/140001
7 years, 1 month ago (2013-11-01 15:38:16 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=170636
7 years, 1 month ago (2013-11-01 16:58:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/55123002/140001
7 years, 1 month ago (2013-11-01 17:16:41 UTC) #12
skare_
lgtm
7 years, 1 month ago (2013-11-01 18:00:30 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=170727
7 years, 1 month ago (2013-11-01 19:10:12 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/55123002/140001
7 years, 1 month ago (2013-11-01 19:37:02 UTC) #15
commit-bot: I haz the power
7 years, 1 month ago (2013-11-01 20:40:29 UTC) #16
Message was sent while issue was closed.
Change committed as 232464

Powered by Google App Engine
This is Rietveld 408576698