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

Issue 10807086: Trigger chrome.storage.onChanged events for policy updates on the 'managed' namespace. (Closed)

Created:
8 years, 5 months ago by Joao da Silva
Modified:
8 years, 5 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Trigger chrome.storage.onChanged events for policy updates on the 'managed' namespace. BUG=108992 TEST=ExtensionSettingsApiTest.ManagedStorageEvents Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148350

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixed use-after-free #

Total comments: 6

Patch Set 3 : Rebased, addressed comments, fixed ManagedStorageDisabled test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -39 lines) Patch
M chrome/browser/extensions/settings/managed_value_store_cache.h View 1 2 chunks +18 lines, -6 lines 0 comments Download
M chrome/browser/extensions/settings/managed_value_store_cache.cc View 1 3 chunks +47 lines, -3 lines 0 comments Download
M chrome/browser/extensions/settings/settings_apitest.cc View 1 2 3 chunks +42 lines, -19 lines 0 comments Download
M chrome/browser/extensions/settings/settings_frontend.cc View 1 2 3 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/settings/value_store_cache.h View 1 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/extensions/settings/value_store_cache.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/storage.json View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/apps/storage.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/extensions/storage.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/settings/managed_storage/background.js View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/api_test/settings/managed_storage_disabled/background.js View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/settings/managed_storage_events/background.js View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/settings/managed_storage_events/manifest.json View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Joao da Silva
This should be the last major change for this work (recommended policy values is still ...
8 years, 5 months ago (2012-07-24 14:11:49 UTC) #1
not at google - send to devlin
lgtm http://codereview.chromium.org/10807086/diff/7001/chrome/browser/extensions/settings/managed_value_store_cache.cc File chrome/browser/extensions/settings/managed_value_store_cache.cc (right): http://codereview.chromium.org/10807086/diff/7001/chrome/browser/extensions/settings/managed_value_store_cache.cc#newcode26 chrome/browser/extensions/settings/managed_value_store_cache.cc:26: policy_service_->AddObserver(policy::POLICY_DOMAIN_EXTENSIONS, this); Just FYI, there is ScopedObserver in ...
8 years, 5 months ago (2012-07-25 00:49:02 UTC) #2
Joao da Silva
Thanks for yet another review :-) Will land if the bots are green. http://codereview.chromium.org/10807086/diff/7001/chrome/browser/extensions/settings/managed_value_store_cache.cc File ...
8 years, 5 months ago (2012-07-25 12:52:12 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/10807086/17001
8 years, 5 months ago (2012-07-25 16:16:12 UTC) #4
commit-bot: I haz the power
8 years, 5 months ago (2012-07-25 17:26:25 UTC) #5
Change committed as 148350

Powered by Google App Engine
This is Rietveld 408576698