Commit e48f67f2 authored by pam@chromium.org's avatar pam@chromium.org

Fix typos in privacy API documentation.

BUG=116518
TEST=none (documentation only)

Review URL: http://codereview.chromium.org/9582005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124950 0039d316-1c4b-4281-b951-d872f2087c98
parent f5ed80cd
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
<p> <p>
Reading the current value of a Chrome setting is straightforward. You'll first Reading the current value of a Chrome setting is straightforward. You'll first
need to find the property you're interested in, then you'll call need to find the property you're interested in, then you'll call
<code>get()</code> on that object in order to retrieve it's current value and <code>get()</code> on that object in order to retrieve its current value and
your extension's level of control. For example, to determine if Chrome's your extension's level of control. For example, to determine if Chrome's
Autofill feature is enabled, you'd write: Autofill feature is enabled, you'd write:
</p> </p>
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
<p> <p>
Changing the value of a setting is a little bit more complex, simply because Changing the value of a setting is a little bit more complex, simply because
you first must verify that your extension can control the setting. The user you first must verify that your extension can control the setting. The user
won't see any change to her settings if you extension toggles a setting that won't see any change to her settings if your extension toggles a setting that
is either locked to a specific value by enterprise policies is either locked to a specific value by enterprise policies
(<code>levelOfControl</code> will be set to "not_controllable"), or if another (<code>levelOfControl</code> will be set to "not_controllable"), or if another
extension is controlling the value (<code>levelOfControl</code> will be set to extension is controlling the value (<code>levelOfControl</code> will be set to
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
This means that you ought to use the <code>get()</code> method to determine This means that you ought to use the <code>get()</code> method to determine
your level of access, and then only call <code>set()</code> if your extension your level of access, and then only call <code>set()</code> if your extension
can grab control over the setting (in fact if your extension can't control the can grab control over the setting (in fact if your extension can't control the
setting it's probably a good idea to visibly disable the functionality to setting it's probably a good idea to visually disable the functionality to
reduce user confusion): reduce user confusion):
</p> </p>
<pre>chrome.privacy.services.autofillEnabled.get({}, function(details) { <pre>chrome.privacy.services.autofillEnabled.get({}, function(details) {
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<p> <p>
Reading the current value of a Chrome setting is straightforward. You'll first Reading the current value of a Chrome setting is straightforward. You'll first
need to find the property you're interested in, then you'll call need to find the property you're interested in, then you'll call
<code>get()</code> on that object in order to retrieve it's current value and <code>get()</code> on that object in order to retrieve its current value and
your extension's level of control. For example, to determine if Chrome's your extension's level of control. For example, to determine if Chrome's
Autofill feature is enabled, you'd write: Autofill feature is enabled, you'd write:
</p> </p>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<p> <p>
Changing the value of a setting is a little bit more complex, simply because Changing the value of a setting is a little bit more complex, simply because
you first must verify that your extension can control the setting. The user you first must verify that your extension can control the setting. The user
won't see any change to her settings if you extension toggles a setting that won't see any change to her settings if your extension toggles a setting that
is either locked to a specific value by enterprise policies is either locked to a specific value by enterprise policies
(<code>levelOfControl</code> will be set to "not_controllable"), or if another (<code>levelOfControl</code> will be set to "not_controllable"), or if another
extension is controlling the value (<code>levelOfControl</code> will be set to extension is controlling the value (<code>levelOfControl</code> will be set to
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
This means that you ought to use the <code>get()</code> method to determine This means that you ought to use the <code>get()</code> method to determine
your level of access, and then only call <code>set()</code> if your extension your level of access, and then only call <code>set()</code> if your extension
can grab control over the setting (in fact if your extension can't control the can grab control over the setting (in fact if your extension can't control the
setting it's probably a good idea to visibly disable the functionality to setting it's probably a good idea to visually disable the functionality to
reduce user confusion): reduce user confusion):
</p> </p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment