summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/examples/api/preferences
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-02 18:09:07 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-02 18:09:07 +0000
commitc9471eabfabc96a43afcbef3d394fdb2657206c9 (patch)
treecb4f627e6d51382a69c1ef068170f116a97c335a /chrome/common/extensions/docs/examples/api/preferences
parent56d4600b883fbc3d6b4fbf37ee1545de3321eed9 (diff)
downloadchromium_src-c9471eabfabc96a43afcbef3d394fdb2657206c9.zip
chromium_src-c9471eabfabc96a43afcbef3d394fdb2657206c9.tar.gz
chromium_src-c9471eabfabc96a43afcbef3d394fdb2657206c9.tar.bz2
Extension API: Rename contentSettings.misc to .global and rename preferences under it.
BUG=71067 Review URL: http://codereview.chromium.org/7031063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87632 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/examples/api/preferences')
-rw-r--r--chrome/common/extensions/docs/examples/api/preferences/enableReferrer.zipbin7283 -> 7273 bytes
-rw-r--r--chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.html3
2 files changed, 1 insertions, 2 deletions
diff --git a/chrome/common/extensions/docs/examples/api/preferences/enableReferrer.zip b/chrome/common/extensions/docs/examples/api/preferences/enableReferrer.zip
index 651e196..1f4b896 100644
--- a/chrome/common/extensions/docs/examples/api/preferences/enableReferrer.zip
+++ b/chrome/common/extensions/docs/examples/api/preferences/enableReferrer.zip
Binary files differ
diff --git a/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.html b/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.html
index 59255630..dd53501 100644
--- a/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.html
+++ b/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.html
@@ -2,8 +2,7 @@
<html>
<head>
<script>
-var cs = chrome.experimental.contentSettings;
-var pref = cs.misc.enableReferrers;
+var pref = chrome.experimental.contentSettings.global.referrersEnabled;
/**
* Returns whether the |levelOfControl| means that the extension can change the