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

Unified Diff: chrome/test/data/extensions/api_test/settings/managed_storage/background.js

Issue 10807086: Trigger chrome.storage.onChanged events for policy updates on the 'managed' namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, addressed comments, fixed ManagedStorageDisabled test Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/settings/managed_storage/background.js
diff --git a/chrome/test/data/extensions/api_test/settings/managed_storage/background.js b/chrome/test/data/extensions/api_test/settings/managed_storage/background.js
index 6d1470aa7a44f6328efea26ccb765613d9a2d8d8..8687b0faf20b3463f6a4d0ba6fa89f4ae65b6ac8 100644
--- a/chrome/test/data/extensions/api_test/settings/managed_storage/background.js
+++ b/chrome/test/data/extensions/api_test/settings/managed_storage/background.js
@@ -26,7 +26,6 @@ chrome.test.runTests([
function getAllPolicies() {
chrome.storage.managed.get(
- null,
chrome.test.callbackPass(function(results) {
chrome.test.assertEq({
'string-policy': 'value',
@@ -43,7 +42,6 @@ chrome.test.runTests([
function getBytesInUse() {
chrome.storage.managed.getBytesInUse(
- null,
chrome.test.callbackPass(function(bytes) {
chrome.test.assertEq(0, bytes);
}));

Powered by Google App Engine
This is Rietveld 408576698