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

Unified Diff: chrome/common/extensions/docs/server2/templates/private/cookies_intro.html

Issue 10700118: Extensions Docs Server: First doc conversions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added all APIs 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/common/extensions/docs/server2/templates/private/cookies_intro.html
diff --git a/chrome/common/extensions/docs/server2/templates/private/cookies_intro.html b/chrome/common/extensions/docs/server2/templates/private/cookies_intro.html
new file mode 100644
index 0000000000000000000000000000000000000000..2df28e58aaea43d8e9e7aa9aa4291d22bbffefbb
--- /dev/null
+++ b/chrome/common/extensions/docs/server2/templates/private/cookies_intro.html
@@ -0,0 +1,28 @@
+<!-- BEGIN AUTHORED CONTENT -->
+<h2 id="manifest">Manifest</h2>
+<p>To use the cookies API,
+you must declare the "cookies" permission in your manifest,
+along with <a href="manifest.html#permissions">host permissions</a>
+for any hosts whose cookies
+you want to access.
+For example:</p>
+<pre>{
+ "name": "My extension",
+ ...
+ <b>"permissions": [
+ "cookies",
+ "*://*.google.com"
+ ]</b>,
+ ...
+}</pre>
+<h2 id="examples"> Examples </h2>
+<p>
+You can find a simple example
+of using the cookies API in the
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/cookies/">examples/api/cookies</a>
+directory.
+For other examples
+and for help in viewing the source code,
+see <a href="samples.html">Samples</a>.
+</p>
+<!-- END AUTHORED CONTENT -->

Powered by Google App Engine
This is Rietveld 408576698