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

Issue 145353010: Gate console.log output in Google Now (Closed)

Created:
6 years, 10 months ago by robliao
Modified:
6 years, 10 months ago
Reviewers:
vadimt, rgustafson, skare_
CC:
chromium-reviews, arv+watch_chromium.org
Visibility:
Public.

Description

Gate console.log output in Google Now To reduce the chattiness of Google Now, localStorage.debug_mode for Google Now and showConsoleLogOutput for unit tests will control when console.log actually outputs to the console. BUG=338239 TEST=By default, there will be no console.log output. When localStorage.debug_mode is true in Google Now or showConsoleLogOutput is set to true in unit tests, console.log output will occur. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247606

Patch Set 1 #

Total comments: 8

Patch Set 2 : CR Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -14 lines) Patch
M chrome/browser/resources/google_now/background.js View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/google_now/cards_unittest.gtestjs View 9 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/resources/google_now/common_test_util.js View 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/resources/google_now/utility.js View 1 3 chunks +23 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
robliao
6 years, 10 months ago (2014-01-28 20:40:18 UTC) #1
Vadim Sh.
On 2014/01/28 20:40:18, robliao wrote: I am not the reviewer you're looking for. Removing myself ...
6 years, 10 months ago (2014-01-28 20:47:52 UTC) #2
robliao
Vadim autocomplete fix.
6 years, 10 months ago (2014-01-28 20:49:24 UTC) #3
vadimt
https://codereview.chromium.org/145353010/diff/1/chrome/browser/resources/google_now/common_test_util.js File chrome/browser/resources/google_now/common_test_util.js (right): https://codereview.chromium.org/145353010/diff/1/chrome/browser/resources/google_now/common_test_util.js#newcode10 chrome/browser/resources/google_now/common_test_util.js:10: var showConsoleLogOutput = false; showConsoleLogOutput seems to be a ...
6 years, 10 months ago (2014-01-28 21:07:12 UTC) #4
skare_
https://codereview.chromium.org/145353010/diff/1/chrome/browser/resources/google_now/utility.js File chrome/browser/resources/google_now/utility.js (right): https://codereview.chromium.org/145353010/diff/1/chrome/browser/resources/google_now/utility.js#newcode36 chrome/browser/resources/google_now/utility.js:36: * @return {boolean} Debug mode is enabled. tiny nit: ...
6 years, 10 months ago (2014-01-28 21:25:51 UTC) #5
robliao
https://codereview.chromium.org/145353010/diff/1/chrome/browser/resources/google_now/common_test_util.js File chrome/browser/resources/google_now/common_test_util.js (right): https://codereview.chromium.org/145353010/diff/1/chrome/browser/resources/google_now/common_test_util.js#newcode10 chrome/browser/resources/google_now/common_test_util.js:10: var showConsoleLogOutput = false; One of the main complaints ...
6 years, 10 months ago (2014-01-28 21:56:02 UTC) #6
vadimt
lgtm
6 years, 10 months ago (2014-01-28 22:19:07 UTC) #7
rgustafson
lgtm
6 years, 10 months ago (2014-01-28 22:37:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/145353010/30001
6 years, 10 months ago (2014-01-28 23:50:37 UTC) #9
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) remoting_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=217563
6 years, 10 months ago (2014-01-29 00:50:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/145353010/30001
6 years, 10 months ago (2014-01-29 00:54:20 UTC) #11
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) remoting_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=217663
6 years, 10 months ago (2014-01-29 02:21:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/145353010/30001
6 years, 10 months ago (2014-01-29 02:31:56 UTC) #13
commit-bot: I haz the power
6 years, 10 months ago (2014-01-29 02:52:15 UTC) #14
Message was sent while issue was closed.
Change committed as 247606

Powered by Google App Engine
This is Rietveld 408576698