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

Issue 23694020: Don't clear existing extension-defined preferences and content settings when reloading or updating… (Closed)

Created:
7 years, 3 months ago by Bernhard Bauer
Modified:
7 years, 3 months ago
Reviewers:
falken, Jeffrey Yasskin, sky
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Don't clear existing extension-defined preferences and content settings when reloading or updating an extension. BUG=284385 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223124

Patch Set 1 #

Patch Set 2 : test #

Total comments: 14

Patch Set 3 : review #

Patch Set 4 : . #

Patch Set 5 : x #

Patch Set 6 : blubb #

Patch Set 7 : fix #

Patch Set 8 : fix #

Patch Set 9 : argh #

Patch Set 10 : . #

Patch Set 11 : x #

Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -150 lines) Patch
M chrome/browser/extensions/api/content_settings/content_settings_apitest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +178 lines, -77 lines 0 comments Download
M chrome/browser/extensions/api/content_settings/content_settings_store.cc View 1 2 3 4 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/preference/preference_apitest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +126 lines, -50 lines 0 comments Download
M chrome/browser/extensions/extension_pref_value_map.cc View 1 2 3 4 1 chunk +7 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 1 chunk +20 lines, -7 lines 0 comments Download
M chrome/test/data/extensions/api_test/content_settings/standard/manifest.json View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M chrome/test/data/extensions/api_test/preference/standard/manifest.json View 1 2 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
falken
Not sure if this was ready for a review, but lgtm. Thanks! I also verified ...
7 years, 3 months ago (2013-09-06 06:24:36 UTC) #1
Bernhard Bauer
Yes, I think I just forgot to send it out :)
7 years, 3 months ago (2013-09-06 07:03:32 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/23694020/8001
7 years, 3 months ago (2013-09-06 07:04:31 UTC) #3
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=24119
7 years, 3 months ago (2013-09-06 07:19:04 UTC) #4
Bernhard Bauer
Jeffrey, can I get an OWNERS review?
7 years, 3 months ago (2013-09-06 11:26:29 UTC) #5
Bernhard Bauer
Jeffrey, can I get an OWNERS review?
7 years, 3 months ago (2013-09-06 11:26:29 UTC) #6
Jeffrey Yasskin
lgtm to avoid timezone delay, with the following comments: https://codereview.chromium.org/23694020/diff/8001/chrome/browser/extensions/api/content_settings/content_settings_apitest.cc File chrome/browser/extensions/api/content_settings/content_settings_apitest.cc (right): https://codereview.chromium.org/23694020/diff/8001/chrome/browser/extensions/api/content_settings/content_settings_apitest.cc#newcode108 chrome/browser/extensions/api/content_settings/content_settings_apitest.cc:108: ...
7 years, 3 months ago (2013-09-06 21:31:56 UTC) #7
Jeffrey Yasskin
Oh, also please make sure your CL description is clear and complete. "installing an extension ...
7 years, 3 months ago (2013-09-06 21:32:55 UTC) #8
Bernhard Bauer
Hmph. Turns out reloading the extension closes the browser window, which can cause the message ...
7 years, 3 months ago (2013-09-09 21:01:59 UTC) #9
Jeffrey Yasskin
Thanks for looking into the test flakiness. Still lgtm. https://codereview.chromium.org/23694020/diff/8001/chrome/browser/extensions/extension_pref_value_map.cc File chrome/browser/extensions/extension_pref_value_map.cc (right): https://codereview.chromium.org/23694020/diff/8001/chrome/browser/extensions/extension_pref_value_map.cc#newcode124 chrome/browser/extensions/extension_pref_value_map.cc:124: ...
7 years, 3 months ago (2013-09-09 21:15:27 UTC) #10
Bernhard Bauer
https://codereview.chromium.org/23694020/diff/8001/chrome/browser/extensions/extension_pref_value_map.cc File chrome/browser/extensions/extension_pref_value_map.cc (right): https://codereview.chromium.org/23694020/diff/8001/chrome/browser/extensions/extension_pref_value_map.cc#newcode124 chrome/browser/extensions/extension_pref_value_map.cc:124: entries_[ext_id]->enabled = is_enabled; On 2013/09/09 21:15:28, Jeffrey Yasskin wrote: ...
7 years, 3 months ago (2013-09-09 21:31:45 UTC) #11
Bernhard Bauer
Scott, can I get an OWNERS review for in_process_browser_test.cc? https://codereview.chromium.org/23694020/diff/8001/chrome/browser/extensions/api/content_settings/content_settings_store.cc File chrome/browser/extensions/api/content_settings/content_settings_store.cc (right): https://codereview.chromium.org/23694020/diff/8001/chrome/browser/extensions/api/content_settings/content_settings_store.cc#newcode131 chrome/browser/extensions/api/content_settings/content_settings_store.cc:131: ...
7 years, 3 months ago (2013-09-10 13:28:18 UTC) #12
sky
LGTM
7 years, 3 months ago (2013-09-10 15:49:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/23694020/66001
7 years, 3 months ago (2013-09-11 21:01:32 UTC) #14
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=168079
7 years, 3 months ago (2013-09-11 22:38:23 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/23694020/1004
7 years, 3 months ago (2013-09-13 18:06:34 UTC) #16
commit-bot: I haz the power
7 years, 3 months ago (2013-09-13 21:24:21 UTC) #17
Message was sent while issue was closed.
Change committed as 223124

Powered by Google App Engine
This is Rietveld 408576698