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

Side by Side Diff: chrome/common/extensions/docs/server2/templates/intros/cookies.html

Issue 10832042: Extensions Docs Server: Doc conversion script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: script/build.py fixes Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!-- BEGIN AUTHORED CONTENT -->
2 <h2 id="manifest">Manifest</h2> 1 <h2 id="manifest">Manifest</h2>
3 <p>To use the cookies API, 2 <p>To use the cookies API,
4 you must declare the "cookies" permission in your manifest, 3 you must declare the "cookies" permission in your manifest,
5 along with <a href="manifest.html#permissions">host permissions</a> 4 along with <a href="manifest.html#permissions">host permissions</a>
6 for any hosts whose cookies 5 for any hosts whose cookies
7 you want to access. 6 you want to access.
8 For example:</p> 7 For example:</p>
9 <pre>{ 8 <pre>{
10 "name": "My extension", 9 "name": "My extension",
11 ... 10 ...
12 <b>"permissions": [ 11 <b>"permissions": [
13 "cookies", 12 "cookies",
14 "*://*.google.com" 13 "*://*.google.com"
15 ]</b>, 14 ]</b>,
16 ... 15 ...
17 }</pre> 16 }</pre>
18 <h2 id="examples"> Examples </h2> 17 <h2 id="examples"> Examples </h2>
19 <p> 18 <p>
20 You can find a simple example 19 You can find a simple example
21 of using the cookies API in the 20 of using the cookies API in the
22 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/cookies/">examples/api/cookies</a> 21 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension s/docs/examples/api/cookies/">examples/api/cookies</a>
23 directory. 22 directory.
24 For other examples 23 For other examples
25 and for help in viewing the source code, 24 and for help in viewing the source code,
26 see <a href="samples.html">Samples</a>. 25 see <a href="samples.html">Samples</a>.
27 </p> 26 </p>
28 <!-- END AUTHORED CONTENT -->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698