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

Side by Side Diff: chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js

Issue 2699013002: MD Settings: Allow editing a cookie site exception. (Closed)
Patch Set: Nits. Created 3 years, 10 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 unified diff | Download patch
OLDNEW
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 * An example empty pref. 6 * An example empty pref.
7 * @type {SiteSettingsPref} 7 * @type {SiteSettingsPref}
8 */ 8 */
9 var prefsEmpty = { 9 var prefsEmpty = {
10 defaults: { 10 defaults: {
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 primaryPattern, secondaryPattern, contentType, incognito) { 235 primaryPattern, secondaryPattern, contentType, incognito) {
236 this.methodCalled('resetCategoryPermissionForOrigin', 236 this.methodCalled('resetCategoryPermissionForOrigin',
237 [primaryPattern, secondaryPattern, contentType, incognito]); 237 [primaryPattern, secondaryPattern, contentType, incognito]);
238 return Promise.resolve(); 238 return Promise.resolve();
239 }, 239 },
240 240
241 /** @override */ 241 /** @override */
242 setCategoryPermissionForOrigin: function( 242 setCategoryPermissionForOrigin: function(
243 primaryPattern, secondaryPattern, contentType, value, incognito) { 243 primaryPattern, secondaryPattern, contentType, value, incognito) {
244 this.methodCalled('setCategoryPermissionForOrigin', 244 this.methodCalled('setCategoryPermissionForOrigin',
245 [primaryPattern, secondaryPattern, contentType, value]); 245 [primaryPattern, secondaryPattern, contentType, value, incognito]);
246 return Promise.resolve(); 246 return Promise.resolve();
247 }, 247 },
248 248
249 /** @override */ 249 /** @override */
250 fetchZoomLevels: function() { 250 fetchZoomLevels: function() {
251 cr.webUIListenerCallback('onZoomLevelsChanged', this.zoomList_); 251 cr.webUIListenerCallback('onZoomLevelsChanged', this.zoomList_);
252 this.methodCalled('fetchZoomLevels'); 252 this.methodCalled('fetchZoomLevels');
253 }, 253 },
254 254
255 /** @override */ 255 /** @override */
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 /** @override */ 294 /** @override */
295 setProtocolDefault: function() { 295 setProtocolDefault: function() {
296 this.methodCalled('setProtocolDefault', arguments); 296 this.methodCalled('setProtocolDefault', arguments);
297 }, 297 },
298 298
299 /** @override */ 299 /** @override */
300 removeProtocolHandler: function() { 300 removeProtocolHandler: function() {
301 this.methodCalled('removeProtocolHandler', arguments); 301 this.methodCalled('removeProtocolHandler', arguments);
302 } 302 }
303 }; 303 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698