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

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

Issue 2854753002: [MD settings] clear incognito only checkbox (Closed)
Patch Set: review changes Created 3 years, 7 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
« no previous file with comments | « chrome/test/data/webui/settings/site_list_tests.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * Only used for tests. 6 * Only used for tests.
7 * @typedef {{ 7 * @typedef {{
8 * auto_downloads: !Array<!RawSiteException>}, 8 * auto_downloads: !Array<!RawSiteException>},
9 * background_sync: !Array<!RawSiteException>}, 9 * background_sync: !Array<!RawSiteException>},
10 * camera: !Array<!RawSiteException>}, 10 * camera: !Array<!RawSiteException>},
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 'observeProtocolHandlers', 86 'observeProtocolHandlers',
87 'observeProtocolHandlersEnabledState', 87 'observeProtocolHandlersEnabledState',
88 'reloadCookies', 88 'reloadCookies',
89 'removeCookie', 89 'removeCookie',
90 'removeProtocolHandler', 90 'removeProtocolHandler',
91 'removeUsbDevice', 91 'removeUsbDevice',
92 'removeZoomLevel', 92 'removeZoomLevel',
93 'resetCategoryPermissionForOrigin', 93 'resetCategoryPermissionForOrigin',
94 'setCategoryPermissionForOrigin', 94 'setCategoryPermissionForOrigin',
95 'setDefaultValueForContentType', 95 'setDefaultValueForContentType',
96 'setProtocolDefault' 96 'setProtocolDefault',
97 'updateIncognitoStatus',
97 ]); 98 ]);
98 99
99 /** @private {boolean} */ 100 /** @private {boolean} */
100 this.hasIncognito_ = false; 101 this.hasIncognito_ = false;
101 102
102 /** @private {!SiteSettingsPref} */ 103 /** @private {!SiteSettingsPref} */
103 this.prefs_ = prefsEmpty; 104 this.prefs_ = prefsEmpty;
104 105
105 /** @private {!Array<ZoomLevelEntry>} */ 106 /** @private {!Array<ZoomLevelEntry>} */
106 this.zoomList_ = []; 107 this.zoomList_ = [];
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 }, 365 },
365 366
366 /** @override */ 367 /** @override */
367 setProtocolDefault: function() { 368 setProtocolDefault: function() {
368 this.methodCalled('setProtocolDefault', arguments); 369 this.methodCalled('setProtocolDefault', arguments);
369 }, 370 },
370 371
371 /** @override */ 372 /** @override */
372 removeProtocolHandler: function() { 373 removeProtocolHandler: function() {
373 this.methodCalled('removeProtocolHandler', arguments); 374 this.methodCalled('removeProtocolHandler', arguments);
375 },
376
377 /** @override */
378 updateIncognitoStatus: function() {
379 this.methodCalled('updateIncognitoStatus', arguments);
374 } 380 }
375 }; 381 };
OLDNEW
« no previous file with comments | « chrome/test/data/webui/settings/site_list_tests.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698