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

Unified Diff: chrome/common/extensions/docs/samples.json

Issue 7310004: Add sample extension to allow/block third-party cookies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/common/extensions/docs/samples.json
diff --git a/chrome/common/extensions/docs/samples.json b/chrome/common/extensions/docs/samples.json
index fa7a9cb9eeab133172014fc66ba15cff8971febd..4217e674a7d0a3356e00491e9095784eaecf06e9 100644
--- a/chrome/common/extensions/docs/samples.json
+++ b/chrome/common/extensions/docs/samples.json
@@ -351,6 +351,30 @@
},
{
"api_calls": [
+ "chrome.extension.isAllowedIncognitoAccess"
+ ],
+ "description": "Sample extension which demonstrates how to access a preference.",
+ "features": [
+ "browser_action",
+ "contentSettings",
+ "experimental",
+ "popup"
+ ],
+ "icon": null,
+ "id": "7da105f28e200d42510aff3591dfa5aeb0b82605",
+ "name": "Block\/allow third-party cookies API example extension",
+ "path": "examples\/api\/preferences\/allowThirdPartyCookies\/",
+ "protocols": [],
+ "search_string": "BLOCK\/ALLOW THIRD-PARTY COOKIES API EXAMPLE EXTENSION SAMPLE EXTENSION WHICH DEMONSTRATES HOW TO ACCESS A PREFERENCE. BROWSER_ACTION CONTENTSETTINGS EXPERIMENTAL POPUP CHROME.EXTENSION.ISALLOWEDINCOGNITOACCESS",
+ "source_files": [
+ "manifest.json",
+ "popup.html"
+ ],
+ "source_hash": "0a5411c5d06a2b40b27ce8eef706b0003bb72be8",
+ "zip_path": "examples\/api\/preferences\/allowThirdPartyCookies.zip"
+ },
+ {
+ "api_calls": [
"chrome.experimental.devtools.audits.addCategory",
"chrome.extension.onRequest",
"chrome.extension.sendRequest",
@@ -706,7 +730,7 @@
"manifest.json",
"popup.html"
],
- "source_hash": "2919c196fec8721c240b529b7763c36f7330d986",
+ "source_hash": "3b492332455095ce069e29d9dcff81e429459190",
"zip_path": "examples\/api\/preferences\/enableReferrer.zip"
},
{

Powered by Google App Engine
This is Rietveld 408576698