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

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

Issue 6793042: Add sample extension for preference access. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 9 years, 8 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
« no previous file with comments | « chrome/common/extensions/docs/samples.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/samples.json
diff --git a/chrome/common/extensions/docs/samples.json b/chrome/common/extensions/docs/samples.json
index 6a0adf8621ac686260dc30ea04589efb918012c4..c30d0989ffdad1ce8c74653b5b4a091d3754188e 100644
--- a/chrome/common/extensions/docs/samples.json
+++ b/chrome/common/extensions/docs/samples.json
@@ -599,6 +599,30 @@
"zip_path": "examples/extensions/email_this_page.zip"
},
{
+ "api_calls": [
+ "chrome.extension.isAllowedIncognitoAccess"
+ ],
+ "description": "Sample extension which demonstrates how to access a preference.",
+ "features": [
+ "browser_action",
+ "contentSettings",
+ "experimental",
+ "popup"
+ ],
+ "icon": null,
+ "id": "0bf0930a32829dfb77170535ecb27adc2de3998a",
+ "name": "Enable/disable referrers API example extension",
+ "path": "examples/api/preferences/enableReferrer/",
+ "protocols": [],
+ "search_string": "ENABLE/DISABLE REFERRERS 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": "df2a19be905672c2ced4e7108e05170175847d6b",
+ "zip_path": "examples/api/preferences/enableReferrer.zip"
+ },
+ {
"api_calls": [],
"description": "A sample extension which uses Google Analytics to track usage.",
"features": [
« no previous file with comments | « chrome/common/extensions/docs/samples.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698