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

Issue 21985002: Add Finch Checks to the State Machine (Closed)

Created:
7 years, 4 months ago by robliao
Modified:
7 years, 4 months ago
CC:
asargent_no_longer_on_chrome, chromium-reviews, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@SMLog
Visibility:
Public.

Description

Add Finch Checks to the State Machine Google Now will check the Finch Experiment state for 'Enable*' or '' before running Additionally, it will also request the background permission unless the Finch Experiment state is 'EnableWithoutBackground' Added some more logging for the state machine as well. BUG=164227 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217342

Patch Set 1 #

Total comments: 17

Patch Set 2 : CR Feedback #

Total comments: 4

Patch Set 3 : Rebase with Rename and Update to Latest #

Patch Set 4 : Rolling In Dependent Fixes #

Total comments: 8

Patch Set 5 : Remove enableExperiment #

Total comments: 4

Patch Set 6 : Quick Fixes #

Total comments: 1

Patch Set 7 : Sync to r217065 #

Total comments: 1

Patch Set 8 : Make Strings Const #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -38 lines) Patch
M chrome/browser/extensions/component_loader.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -1 line 0 comments Download
M chrome/browser/resources/google_now/background.js View 1 2 3 4 5 6 8 chunks +71 lines, -20 lines 0 comments Download
M chrome/browser/resources/google_now/background_unittest.gtestjs View 1 2 3 15 chunks +45 lines, -16 lines 0 comments Download
M chrome/browser/resources/google_now/manifest.json View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/geolocation_options_handler.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
robliao
7 years, 4 months ago (2013-08-02 21:06:23 UTC) #1
vadimt
Initial comments. Thanks! https://codereview.chromium.org/21985002/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/21985002/diff/1/chrome/browser/resources/google_now/background.js#newcode754 chrome/browser/resources/google_now/background.js:754: function setBackgroundEnable(backgroundEnable, onSuccess) { onSuccess -> ...
7 years, 4 months ago (2013-08-02 21:54:43 UTC) #2
robliao
https://codereview.chromium.org/21985002/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/21985002/diff/1/chrome/browser/resources/google_now/background.js#newcode754 chrome/browser/resources/google_now/background.js:754: function setBackgroundEnable(backgroundEnable, onSuccess) { Kept this way to remain ...
7 years, 4 months ago (2013-08-03 01:21:18 UTC) #3
vadimt
https://codereview.chromium.org/21985002/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/21985002/diff/1/chrome/browser/resources/google_now/background.js#newcode787 chrome/browser/resources/google_now/background.js:787: * this extension should be running. On 2013/08/03 01:21:18, ...
7 years, 4 months ago (2013-08-03 02:07:53 UTC) #4
robliao
https://codereview.chromium.org/21985002/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/21985002/diff/1/chrome/browser/resources/google_now/background.js#newcode787 chrome/browser/resources/google_now/background.js:787: * this extension should be running. Clarified with Modes ...
7 years, 4 months ago (2013-08-09 21:46:43 UTC) #5
vadimt
https://codereview.chromium.org/21985002/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/21985002/diff/1/chrome/browser/resources/google_now/background.js#newcode795 chrome/browser/resources/google_now/background.js:795: callback) { On 2013/08/09 21:46:44, Robert Liao wrote: > ...
7 years, 4 months ago (2013-08-09 22:13:39 UTC) #6
robliao
https://codereview.chromium.org/21985002/diff/40001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/21985002/diff/40001/chrome/browser/resources/google_now/background.js#newcode807 chrome/browser/resources/google_now/background.js:807: enableExperiment, This param is used to gate the starting ...
7 years, 4 months ago (2013-08-09 22:16:47 UTC) #7
vadimt
https://codereview.chromium.org/21985002/diff/40001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/21985002/diff/40001/chrome/browser/resources/google_now/background.js#newcode807 chrome/browser/resources/google_now/background.js:807: enableExperiment, On 2013/08/09 22:16:47, Robert Liao wrote: > This ...
7 years, 4 months ago (2013-08-09 22:21:26 UTC) #8
robliao
https://codereview.chromium.org/21985002/diff/40001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/21985002/diff/40001/chrome/browser/resources/google_now/background.js#newcode807 chrome/browser/resources/google_now/background.js:807: enableExperiment, If we're comfortable that once we load the ...
7 years, 4 months ago (2013-08-09 22:24:40 UTC) #9
vadimt
https://codereview.chromium.org/21985002/diff/40001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/21985002/diff/40001/chrome/browser/resources/google_now/background.js#newcode807 chrome/browser/resources/google_now/background.js:807: enableExperiment, On 2013/08/09 22:24:40, Robert Liao wrote: > If ...
7 years, 4 months ago (2013-08-09 22:28:26 UTC) #10
robliao
https://codereview.chromium.org/21985002/diff/40001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/21985002/diff/40001/chrome/browser/resources/google_now/background.js#newcode807 chrome/browser/resources/google_now/background.js:807: enableExperiment, On 2013/08/09 22:28:26, vadimt wrote: > On 2013/08/09 ...
7 years, 4 months ago (2013-08-09 22:37:40 UTC) #11
robliao
7 years, 4 months ago (2013-08-09 22:37:42 UTC) #12
vadimt
lgtm
7 years, 4 months ago (2013-08-09 22:42:15 UTC) #13
robliao
Owners, please provide owner approval for the files underneath your name. Thanks! asargent: chrome/browser/extensions/component_loader.cc xiyuan: ...
7 years, 4 months ago (2013-08-09 22:49:58 UTC) #14
xiyuan
chrome/browser/resources/* LGTM https://codereview.chromium.org/21985002/diff/51001/chrome/browser/ui/webui/options/geolocation_options_handler.cc File chrome/browser/ui/webui/options/geolocation_options_handler.cc (right): https://codereview.chromium.org/21985002/diff/51001/chrome/browser/ui/webui/options/geolocation_options_handler.cc#newcode25 chrome/browser/ui/webui/options/geolocation_options_handler.cc:25: std::string enablePrefix("Enable"); enablePrefix -> enable_prefix https://codereview.chromium.org/21985002/diff/51001/chrome/browser/ui/webui/options/geolocation_options_handler.cc#newcode26 chrome/browser/ui/webui/options/geolocation_options_handler.cc:26: ...
7 years, 4 months ago (2013-08-09 23:31:53 UTC) #15
robliao
https://codereview.chromium.org/21985002/diff/51001/chrome/browser/ui/webui/options/geolocation_options_handler.cc File chrome/browser/ui/webui/options/geolocation_options_handler.cc (right): https://codereview.chromium.org/21985002/diff/51001/chrome/browser/ui/webui/options/geolocation_options_handler.cc#newcode25 chrome/browser/ui/webui/options/geolocation_options_handler.cc:25: std::string enablePrefix("Enable"); On 2013/08/09 23:31:53, xiyuan wrote: > enablePrefix ...
7 years, 4 months ago (2013-08-12 17:18:22 UTC) #16
robliao
Remaining owners (asargent and jhawkins): Please provide owner approval for the files underneath your name. ...
7 years, 4 months ago (2013-08-12 20:55:31 UTC) #17
robliao
7 years, 4 months ago (2013-08-12 20:55:57 UTC) #18
James Hawkins
lgtm
7 years, 4 months ago (2013-08-12 21:19:41 UTC) #19
robliao
miket: Please provide owner approval for this file. Thanks! chrome/browser/extensions/component_loader.cc
7 years, 4 months ago (2013-08-13 16:51:30 UTC) #20
miket_OOO
OWNER LGTM https://codereview.chromium.org/21985002/diff/66001/chrome/browser/extensions/component_loader.cc File chrome/browser/extensions/component_loader.cc (right): https://codereview.chromium.org/21985002/diff/66001/chrome/browser/extensions/component_loader.cc#newcode475 chrome/browser/extensions/component_loader.cc:475: base::FieldTrialList::FindFullName("GoogleNow"); Can these be const? It might ...
7 years, 4 months ago (2013-08-13 16:59:37 UTC) #21
robliao
7 years, 4 months ago (2013-08-13 18:14:56 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/21985002/81001
7 years, 4 months ago (2013-08-13 18:16:59 UTC) #23
commit-bot: I haz the power
7 years, 4 months ago (2013-08-13 21:29:33 UTC) #24
Message was sent while issue was closed.
Change committed as 217342

Powered by Google App Engine
This is Rietveld 408576698