OLD | NEW |
1 <!-- BEGIN AUTHORED CONTENT --> | 1 <!-- BEGIN AUTHORED CONTENT --> |
2 <p id="classSummary"> | 2 <p id="classSummary"> |
3 Use the <code>chrome.permissions</code> module to implement | 3 Use the <code>chrome.permissions</code> module to implement |
4 optional permissions. You can request optional permissions during your | 4 optional permissions. You can request optional permissions during your |
5 extension's regular application flow rather than at install time, so users | 5 extension's regular application flow rather than at install time, so users |
6 understand why the permissions are needed and use only those that are | 6 understand why the permissions are needed and use only those that are |
7 necessary. | 7 necessary. |
8 </p> | 8 </p> |
9 <p> | 9 <p> |
10 For general information about permissions and details about each permission, | 10 For general information about permissions and details about each permission, |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 }, function(removed) { | 155 }, function(removed) { |
156 if (removed) { | 156 if (removed) { |
157 // The permissions have been removed. | 157 // The permissions have been removed. |
158 } else { | 158 } else { |
159 // The permissions have not been removed (e.g., you tried to remove | 159 // The permissions have not been removed (e.g., you tried to remove |
160 // required permissions). | 160 // required permissions). |
161 } | 161 } |
162 }); | 162 }); |
163 </pre> | 163 </pre> |
164 <!-- END AUTHORED CONTENT --> | 164 <!-- END AUTHORED CONTENT --> |
OLD | NEW |