| OLD | NEW |
| 1 <p class="note"> | 1 <p class="note"> |
| 2 The <a href="http://www.google.com/intl/en/landing/chrome/google-chrome-privac
y-whitepaper.pdf">Chrome Privacy Whitepaper</a> | 2 The <a href="http://www.google.com/intl/en/landing/chrome/google-chrome-privac
y-whitepaper.pdf">Chrome Privacy Whitepaper</a> |
| 3 gives background detail regarding the features which this API can control. | 3 gives background detail regarding the features which this API can control. |
| 4 </p> | 4 </p> |
| 5 | 5 |
| 6 <h2 id="manifest">Manifest</h2> | 6 <h2 id="manifest">Manifest</h2> |
| 7 <p> | 7 <p> |
| 8 You must declare the "privacy" permission in your extension's | 8 You must declare the "privacy" permission in your extension's |
| 9 <a href="manifest">manifest</a> to use the API. For example: | 9 <a href="manifest">manifest</a> to use the API. For example: |
| 10 </p> | 10 </p> |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 <pre>chrome.privacy.services.autofillEnabled.onChange.addListener( | 87 <pre>chrome.privacy.services.autofillEnabled.onChange.addListener( |
| 88 function (details) { | 88 function (details) { |
| 89 // The new value is stored in `details.value`, the new level of control | 89 // The new value is stored in `details.value`, the new level of control |
| 90 // in `details.levelOfControl`, and `details.incognitoSpecific` will be | 90 // in `details.levelOfControl`, and `details.incognitoSpecific` will be |
| 91 // `true` if the value is specific to Incognito mode. | 91 // `true` if the value is specific to Incognito mode. |
| 92 });</pre> | 92 });</pre> |
| 93 | 93 |
| 94 <h2 id="examples">Examples</h2> | 94 <h2 id="examples">Examples</h2> |
| 95 <p> | 95 <p> |
| 96 For example code, see the | 96 For example code, see the |
| 97 <a href="samples#privacy">Privacy API samples</a>. | 97 <!-- TODO(mkwst): Fix broken link. --> |
| 98 <a href="samples#search:privacy">Privacy API samples</a>. |
| 98 </p> | 99 </p> |
| 99 | 100 |
| OLD | NEW |