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

Unified Diff: chrome/common/extensions/docs/server2/templates/intros/storage.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, 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/intros/storage.html
diff --git a/chrome/common/extensions/docs/server2/templates/intros/storage.html b/chrome/common/extensions/docs/server2/templates/intros/storage.html
index 04b0e4b777cc4825b50706258c67a5dc589976a7..b1997db988923aece8c10562a3b3af1d7b351d39 100644
--- a/chrome/common/extensions/docs/server2/templates/intros/storage.html
+++ b/chrome/common/extensions/docs/server2/templates/intros/storage.html
@@ -1,4 +1,3 @@
-<!-- BEGIN AUTHORED CONTENT -->
<p id="classSummary">
Use the <code>chrome.storage</code> module
to store, retrieve, and track changes to user data.
@@ -18,6 +17,8 @@ with the following key differences:
<a href="manifest.html#incognito">split incognito behavior</a>.</li>
<li>User data can be stored as objects
(the <code>localStorage API</code> stores data in strings).</li>
+ <li>Domain policies configured by the administrator for the extension
+ can be read (using <code>storage.managed</code>).</li>
</ul>
<h2 id="manifest">Manifest</h2>
<p>You must declare the "storage" permission in the <a
@@ -57,6 +58,13 @@ to <code>storage.local</code>.
Confidential user information should not be stored!
The storage area isn't encrypted.
</p>
+<p>
+The <code>storage.managed</code> is a read-only
+storage that contains settings configured by the
+domain administrator for the extension. Enforcing
+these settings allows administrators to configure
+your extension on enterprise deployments.
+</p>
<h2 id="limits">Storage and throttling limits</h2>
<p><code>chrome.storage</code> is not a big truck.
It's a series of tubes.
@@ -121,5 +129,4 @@ chrome.storage.onChanged.addListener(function(changes, namespace) {
<p>
You can find examples that use this API on the
<a href="samples.html#sty">Samples page</a>.
-</p>
-<!-- END AUTHORED CONTENT -->
+</p>

Powered by Google App Engine
This is Rietveld 408576698