Index: chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.html |
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 dd535010d0667987412d6fb2326f61b130428343..11f8d11b15c397db837fcfa1e72fe2b67c45b0a5 100644 |
--- a/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.html |
+++ b/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.html |
@@ -85,7 +85,8 @@ function init() { |
* @param incognito{boolean} Whether the value is specific to incognito mode. |
*/ |
function setPrefValue(enabled, incognito) { |
- pref.set({'value':enabled, 'incognito': incognito}); |
+ var scope = incognito ? 'incognito_session_only' : 'regular'; |
+ pref.set({'value': enabled, 'scope': scope}); |
} |
/** |