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

Issue 186013003: Persist browseraction properties across restarts (Closed)

Created:
6 years, 9 months ago by Devlin
Modified:
6 years, 9 months ago
Reviewers:
Jeffrey Yasskin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, not at google - send to devlin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Persist browseraction properties across restarts Persist browser action properties across restarts even if other properties are modified before the old ones are loaded. (Note: only properties which are NOT modified are persisted.) BUG=348775 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255588

Patch Set 1 : #

Patch Set 2 : Remove reliance on ID #

Total comments: 14

Patch Set 3 : Jeffrey's #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : Copyright header #

Patch Set 6 : Latest master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -47 lines) Patch
A chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc View 1 2 3 1 chunk +100 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/extension_action/extension_action_api.cc View 1 2 3 4 5 4 chunks +41 lines, -33 lines 0 comments Download
M chrome/browser/extensions/extension_action.h View 1 2 3 3 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_action.cc View 1 2 3 4 5 2 chunks +37 lines, -7 lines 0 comments Download
M chrome/browser/extensions/state_store.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/state_store.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/browser_action/default_persistence/background.js View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/browser_action/default_persistence/manifest.json View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
Devlin
Jeffrey, mind taking a look? (I feel bad that I've sent my last half-dozen reviews ...
6 years, 9 months ago (2014-03-03 23:40:28 UTC) #1
Jeffrey Yasskin
I'm not done yet, but here are some comments. https://codereview.chromium.org/186013003/diff/80001/chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc File chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc (right): https://codereview.chromium.org/186013003/diff/80001/chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc#newcode37 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc:37: ...
6 years, 9 months ago (2014-03-04 22:11:10 UTC) #2
Jeffrey Yasskin
Ok, got through everything. https://codereview.chromium.org/186013003/diff/80001/chrome/browser/extensions/api/extension_action/extension_action_api.cc File chrome/browser/extensions/api/extension_action/extension_action_api.cc (right): https://codereview.chromium.org/186013003/diff/80001/chrome/browser/extensions/api/extension_action/extension_action_api.cc#newcode141 chrome/browser/extensions/api/extension_action/extension_action_api.cc:141: const int kTabId = ExtensionAction::kDefaultTabId; ...
6 years, 9 months ago (2014-03-04 22:37:28 UTC) #3
Devlin
two quick questions https://codereview.chromium.org/186013003/diff/80001/chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc File chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc (right): https://codereview.chromium.org/186013003/diff/80001/chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc#newcode37 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc:37: content::RunMessageLoop(); On 2014/03/04 22:11:11, Jeffrey Yasskin ...
6 years, 9 months ago (2014-03-04 22:38:40 UTC) #4
Jeffrey Yasskin
https://codereview.chromium.org/186013003/diff/80001/chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc File chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc (right): https://codereview.chromium.org/186013003/diff/80001/chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc#newcode37 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc:37: content::RunMessageLoop(); On 2014/03/04 22:38:40, D Cronin wrote: > On ...
6 years, 9 months ago (2014-03-04 22:49:19 UTC) #5
Devlin
https://codereview.chromium.org/186013003/diff/80001/chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc File chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc (right): https://codereview.chromium.org/186013003/diff/80001/chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc#newcode37 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc:37: content::RunMessageLoop(); On 2014/03/04 22:49:20, Jeffrey Yasskin wrote: > On ...
6 years, 9 months ago (2014-03-05 18:27:17 UTC) #6
Jeffrey Yasskin
lgtm once the Has*() functions take a tab_id. https://codereview.chromium.org/186013003/diff/200001/chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc File chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc (right): https://codereview.chromium.org/186013003/diff/200001/chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc#newcode84 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc:84: // ...
6 years, 9 months ago (2014-03-05 20:23:33 UTC) #7
Devlin
https://codereview.chromium.org/186013003/diff/200001/chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc File chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc (right): https://codereview.chromium.org/186013003/diff/200001/chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc#newcode84 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc:84: // This is *not* a noisy or usless log. ...
6 years, 9 months ago (2014-03-05 23:04:31 UTC) #8
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 9 months ago (2014-03-05 23:04:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/186013003/240001
6 years, 9 months ago (2014-03-05 23:06:28 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-05 23:33:43 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=53739
6 years, 9 months ago (2014-03-05 23:33:44 UTC) #12
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 9 months ago (2014-03-05 23:37:10 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/186013003/260001
6 years, 9 months ago (2014-03-05 23:39:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/186013003/260001
6 years, 9 months ago (2014-03-06 00:18:15 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 01:36:57 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 9 months ago (2014-03-06 01:36:57 UTC) #17
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 9 months ago (2014-03-06 17:01:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/186013003/260001
6 years, 9 months ago (2014-03-06 17:03:41 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 18:16:09 UTC) #20
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=276421
6 years, 9 months ago (2014-03-06 18:16:09 UTC) #21
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 9 months ago (2014-03-06 19:17:24 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/186013003/20002
6 years, 9 months ago (2014-03-06 19:20:25 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 19:47:11 UTC) #24
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 9 months ago (2014-03-06 19:47:12 UTC) #25
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 9 months ago (2014-03-06 20:45:01 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/186013003/20002
6 years, 9 months ago (2014-03-06 21:00:44 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 21:29:14 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg
6 years, 9 months ago (2014-03-06 21:29:15 UTC) #29
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 9 months ago (2014-03-06 21:36:53 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/186013003/20002
6 years, 9 months ago (2014-03-06 21:54:49 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 23:12:01 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg
6 years, 9 months ago (2014-03-06 23:12:01 UTC) #33
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 9 months ago (2014-03-06 23:17:43 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/186013003/20002
6 years, 9 months ago (2014-03-06 23:21:18 UTC) #35
commit-bot: I haz the power
Change committed as 255588
6 years, 9 months ago (2014-03-07 11:44:43 UTC) #36
xhwang
6 years, 9 months ago (2014-03-07 18:00:34 UTC) #37
Message was sent while issue was closed.
On 2014/03/07 11:44:43, I haz the power (commit-bot) wrote:
> Change committed as 255588

Reverted in http://src.chromium.org/viewvc/chrome?revision=255655&view=revision
because of test failures. Sorry about that.

Powered by Google App Engine
This is Rietveld 408576698