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

Issue 19749007: Processing timefences from the server. (Closed)

Created:
7 years, 5 months ago by vadimt
Modified:
7 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org, govind1, stromme
Visibility:
Public.

Description

Processing timefences from the server. Timefences, or triggers, are commands inside cards data that tell the client to show / hide the card at certain time without making a server request. BUG=164227 TEST=Need to discuss in person. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214058

Patch Set 1 #

Patch Set 2 : Fixing manifest typo #

Total comments: 20

Patch Set 3 : rgustafson's notes #

Total comments: 2

Patch Set 4 : Rebasing #

Patch Set 5 : Cosmetics #

Total comments: 9

Patch Set 6 : More notes #

Total comments: 2

Patch Set 7 : sky@ comments #

Total comments: 10

Patch Set 8 : arv@ notes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+688 lines, -135 lines) Patch
M chrome/browser/resources/component_extension_resources.grd View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/google_now/background.js View 1 2 3 4 5 6 7 6 chunks +9 lines, -73 lines 0 comments Download
M chrome/browser/resources/google_now/background_test_util.js View 1 2 3 4 5 6 7 2 chunks +1 line, -58 lines 0 comments Download
M chrome/browser/resources/google_now/background_unittest.gtestjs View 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/resources/google_now/cards.js View 1 2 3 4 5 6 7 1 chunk +176 lines, -0 lines 0 comments Download
A chrome/browser/resources/google_now/cards_unittest.gtestjs View 1 2 3 4 5 6 7 1 chunk +435 lines, -0 lines 0 comments Download
M chrome/browser/resources/google_now/manifest.json View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/google_now/utility.js View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/webui/test_api.js View 1 2 3 4 5 6 3 chunks +60 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
vadimt
7 years, 5 months ago (2013-07-19 20:13:04 UTC) #1
rgustafson
https://codereview.chromium.org/19749007/diff/2001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/19749007/diff/2001/chrome/browser/resources/google_now/background.js#newcode118 chrome/browser/resources/google_now/background.js:118: tasks.instrumentApiFunction(chrome.alarms, 'getAll', 0); Where is alarms.getAll used? https://codereview.chromium.org/19749007/diff/2001/chrome/browser/resources/google_now/background.js#newcode260 chrome/browser/resources/google_now/background.js:260: ...
7 years, 5 months ago (2013-07-19 23:37:12 UTC) #2
rgustafson
https://codereview.chromium.org/19749007/diff/2001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/19749007/diff/2001/chrome/browser/resources/google_now/background.js#newcode244 chrome/browser/resources/google_now/background.js:244: if (typeof parsedResponse.expiration_timestamp_seconds != 'number') { Can we change ...
7 years, 5 months ago (2013-07-22 17:48:07 UTC) #3
vadimt
https://codereview.chromium.org/19749007/diff/2001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/19749007/diff/2001/chrome/browser/resources/google_now/background.js#newcode118 chrome/browser/resources/google_now/background.js:118: tasks.instrumentApiFunction(chrome.alarms, 'getAll', 0); On 2013/07/19 23:37:12, rgustafson wrote: > ...
7 years, 5 months ago (2013-07-22 19:22:51 UTC) #4
rgustafson
https://codereview.chromium.org/19749007/diff/10001/chrome/test/data/webui/test_api.js File chrome/test/data/webui/test_api.js (right): https://codereview.chromium.org/19749007/diff/10001/chrome/test/data/webui/test_api.js#newcode1618 chrome/test/data/webui/test_api.js:1618: * Checks that JSON represenation of the actual and ...
7 years, 5 months ago (2013-07-23 18:14:02 UTC) #5
skare_
https://codereview.chromium.org/19749007/diff/27001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/19749007/diff/27001/chrome/browser/resources/google_now/cards.js#newcode104 chrome/browser/resources/google_now/cards.js:104: // this doesn't output an error to console. up ...
7 years, 5 months ago (2013-07-23 19:55:55 UTC) #6
vadimt
https://codereview.chromium.org/19749007/diff/10001/chrome/test/data/webui/test_api.js File chrome/test/data/webui/test_api.js (right): https://codereview.chromium.org/19749007/diff/10001/chrome/test/data/webui/test_api.js#newcode1618 chrome/test/data/webui/test_api.js:1618: * Checks that JSON represenation of the actual and ...
7 years, 5 months ago (2013-07-23 20:03:27 UTC) #7
rgustafson
lgtm
7 years, 5 months ago (2013-07-23 21:20:40 UTC) #8
skare_
couple more high level things, might not require any action, just sending out because I ...
7 years, 5 months ago (2013-07-23 21:25:52 UTC) #9
vadimt
https://codereview.chromium.org/19749007/diff/27001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/19749007/diff/27001/chrome/browser/resources/google_now/cards.js#newcode35 chrome/browser/resources/google_now/cards.js:35: * @param {Object} cardCreateInfo Google Now card represented as ...
7 years, 5 months ago (2013-07-23 22:42:33 UTC) #10
skare_
lgtm
7 years, 5 months ago (2013-07-24 23:49:36 UTC) #11
vadimt
OWNERs, please provide approvals: arv@: chrome/browser/resources/* sky@: chrome/chrome_tests_unit.gypi chrome/test/data/webui/test_api.js NOTES: 1. Changes in test_api.js are ...
7 years, 5 months ago (2013-07-25 00:20:15 UTC) #12
sky
LGTM as long as arv is happy https://codereview.chromium.org/19749007/diff/37001/chrome/test/data/webui/test_api.js File chrome/test/data/webui/test_api.js (right): https://codereview.chromium.org/19749007/diff/37001/chrome/test/data/webui/test_api.js#newcode1634 chrome/test/data/webui/test_api.js:1634: } nit: ...
7 years, 5 months ago (2013-07-25 14:51:22 UTC) #13
vadimt
https://codereview.chromium.org/19749007/diff/37001/chrome/test/data/webui/test_api.js File chrome/test/data/webui/test_api.js (right): https://codereview.chromium.org/19749007/diff/37001/chrome/test/data/webui/test_api.js#newcode1634 chrome/test/data/webui/test_api.js:1634: } On 2013/07/25 14:51:23, sky wrote: > nit: add ...
7 years, 5 months ago (2013-07-25 20:15:20 UTC) #14
vadimt
arv@ is OOF. xiyuan, please provide OWNER's review (please see what I asked arv@ to ...
7 years, 5 months ago (2013-07-25 20:23:22 UTC) #15
arv (Not doing code reviews)
https://codereview.chromium.org/19749007/diff/47001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/19749007/diff/47001/chrome/browser/resources/google_now/cards.js#newcode5 chrome/browser/resources/google_now/cards.js:5: 'use strict'; Are these files getting concatted? Usually, it ...
7 years, 5 months ago (2013-07-25 21:45:27 UTC) #16
vadimt
Oops, arv@ is in today. xiyuan, please do nothing for now!
7 years, 5 months ago (2013-07-25 21:48:29 UTC) #17
vadimt
https://codereview.chromium.org/19749007/diff/47001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/19749007/diff/47001/chrome/browser/resources/google_now/cards.js#newcode5 chrome/browser/resources/google_now/cards.js:5: 'use strict'; On 2013/07/25 21:45:27, arv wrote: > Are ...
7 years, 5 months ago (2013-07-25 22:57:20 UTC) #18
skare_
https://codereview.chromium.org/19749007/diff/47001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/19749007/diff/47001/chrome/browser/resources/google_now/cards.js#newcode5 chrome/browser/resources/google_now/cards.js:5: 'use strict'; On 2013/07/25 22:57:20, vadimt wrote: > On ...
7 years, 5 months ago (2013-07-26 00:57:29 UTC) #19
vadimt
https://codereview.chromium.org/19749007/diff/47001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/19749007/diff/47001/chrome/browser/resources/google_now/cards.js#newcode5 chrome/browser/resources/google_now/cards.js:5: 'use strict'; On 2013/07/26 00:57:29, Travis Skare wrote: > ...
7 years, 5 months ago (2013-07-26 01:08:54 UTC) #20
xiyuan
LGTM
7 years, 5 months ago (2013-07-26 17:40:31 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/19749007/57001
7 years, 5 months ago (2013-07-26 17:47:28 UTC) #22
commit-bot: I haz the power
7 years, 4 months ago (2013-07-27 23:49:32 UTC) #23
Message was sent while issue was closed.
Change committed as 214058

Powered by Google App Engine
This is Rietveld 408576698