OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * @fileoverview A helper object used from the "Site Settings" section to | 6 * @fileoverview A helper object used from the "Site Settings" section to |
7 * interact with the content settings prefs. | 7 * interact with the content settings prefs. |
8 */ | 8 */ |
9 | 9 |
10 /** | 10 /** |
11 * @typedef {{embeddingOrigin: string, | 11 * @typedef {{embeddingOrigin: string, |
12 * origin: string, | 12 * origin: string, |
| 13 * originForDisplay: string, |
13 * setting: string, | 14 * setting: string, |
14 * source: string}} | 15 * source: string}} |
15 */ | 16 */ |
16 var SiteException; | 17 var SiteException; |
17 | 18 |
18 /** | 19 /** |
19 * @typedef {{location: string, | 20 * @typedef {{location: string, |
20 * notifications: string}} | 21 * notifications: string}} |
21 */ | 22 */ |
22 var CategoryDefaultsPref; | 23 var CategoryDefaultsPref; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 primaryPattern, secondaryPattern, contentType, value) { | 122 primaryPattern, secondaryPattern, contentType, value) { |
122 chrome.send('setCategoryPermissionForOrigin', | 123 chrome.send('setCategoryPermissionForOrigin', |
123 [primaryPattern, secondaryPattern, contentType, value]); | 124 [primaryPattern, secondaryPattern, contentType, value]); |
124 }, | 125 }, |
125 }; | 126 }; |
126 | 127 |
127 return { | 128 return { |
128 SiteSettingsPrefsBrowserProxyImpl: SiteSettingsPrefsBrowserProxyImpl, | 129 SiteSettingsPrefsBrowserProxyImpl: SiteSettingsPrefsBrowserProxyImpl, |
129 }; | 130 }; |
130 }); | 131 }); |
OLD | NEW |