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

Issue 584033003: Make chrome.power sample extension work across updates. (Closed)

Created:
6 years, 3 months ago by Daniel Erat
Modified:
6 years, 3 months ago
Reviewers:
miket_OOO, Matt Perry
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Make chrome.power sample extension work across updates. Make the "Keep Awake" extension load its saved state in response to chrome.runtime.onInstalled in addition to onStartup. Otherwise, it releases its wake locks after being upgraded and fails to reacquire them until the next time Chrome is restarted. BUG=none TBR=miket@chromium.org Committed: https://crrev.com/cf6503512cff8034833ddb07c69fa71717a29a03 Cr-Commit-Position: refs/heads/master@{#295805}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M chrome/common/extensions/docs/examples/api/power/background.js View 1 chunk +4 lines, -0 lines 2 comments Download
M chrome/common/extensions/docs/examples/api/power/manifest.json View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (8 generated)
Daniel Erat
6 years, 3 months ago (2014-09-19 19:42:02 UTC) #2
Matt Perry
lgtm https://codereview.chromium.org/584033003/diff/1/chrome/common/extensions/docs/examples/api/power/background.js File chrome/common/extensions/docs/examples/api/power/background.js (right): https://codereview.chromium.org/584033003/diff/1/chrome/common/extensions/docs/examples/api/power/background.js#newcode100 chrome/common/extensions/docs/examples/api/power/background.js:100: loadSavedState(function(state) { setState(state); }); I assume loadSavedState can ...
6 years, 3 months ago (2014-09-19 19:47:27 UTC) #3
Daniel Erat
https://codereview.chromium.org/584033003/diff/1/chrome/common/extensions/docs/examples/api/power/background.js File chrome/common/extensions/docs/examples/api/power/background.js (right): https://codereview.chromium.org/584033003/diff/1/chrome/common/extensions/docs/examples/api/power/background.js#newcode100 chrome/common/extensions/docs/examples/api/power/background.js:100: loadSavedState(function(state) { setState(state); }); On 2014/09/19 19:47:27, Matt Perry ...
6 years, 3 months ago (2014-09-19 19:53:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/584033003/1
6 years, 3 months ago (2014-09-19 20:26:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/584033003/1
6 years, 3 months ago (2014-09-19 20:26:23 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/12239)
6 years, 3 months ago (2014-09-19 20:46:35 UTC) #9
Daniel Erat
tbr miket
6 years, 3 months ago (2014-09-19 20:54:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/584033003/1
6 years, 3 months ago (2014-09-19 20:56:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/584033003/1
6 years, 3 months ago (2014-09-19 20:56:45 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/11528)
6 years, 3 months ago (2014-09-19 22:12:08 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/11528)
6 years, 3 months ago (2014-09-19 22:13:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/584033003/1
6 years, 3 months ago (2014-09-19 22:15:02 UTC) #20
commit-bot: I haz the power
Committed patchset #1 (id:1) as 0443b62ed7e2da245a77c21782373f11cd33d7a7
6 years, 3 months ago (2014-09-19 23:25:31 UTC) #21
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/cf6503512cff8034833ddb07c69fa71717a29a03 Cr-Commit-Position: refs/heads/master@{#295805}
6 years, 3 months ago (2014-09-19 23:28:02 UTC) #22
miket_OOO
6 years, 3 months ago (2014-09-21 22:52:10 UTC) #23
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698