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 --> |