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

Unified Diff: chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js

Issue 2787923002: [MD settings] small code health changes (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js
diff --git a/chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js b/chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js
index e73ecb072b3e4ef238baaf9f58b5588c0fbe63fe..29a10f435cc7fbc600d0d2ec7cabbe069468a999 100644
--- a/chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js
+++ b/chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js
@@ -97,7 +97,7 @@ var TestSiteSettingsPrefsBrowserProxy = function() {
]);
/** @private {boolean} */
- this.hasIncognito = false;
+ this.hasIncognito_ = false;
/** @private {!SiteSettingsPref} */
this.prefs_ = prefsEmpty;
@@ -126,7 +126,7 @@ TestSiteSettingsPrefsBrowserProxy.prototype = {
* @param {boolean} hasIncognito True for session started.
*/
setIncognito: function(hasIncognito) {
- this.hasIncognito = hasIncognito;
+ this.hasIncognito_ = hasIncognito;
cr.webUIListenerCallback('onIncognitoStatusChanged', hasIncognito);
},
@@ -279,7 +279,7 @@ TestSiteSettingsPrefsBrowserProxy.prototype = {
assert(pref != undefined, 'Pref is missing for ' + contentType);
- if (this.hasIncognito) {
+ if (this.hasIncognito_) {
var incognitoElements = [];
for (var i = 0; i < pref.length; ++i)
incognitoElements.push(Object.assign({incognito: true}, pref[i]));
« 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