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

Unified Diff: chrome/browser/resources/settings/site_settings/add_site_dialog.js

Issue 2933343003: Settings: Cookies: Avoid duplicate 'incognito' exceptions in CrOS Guest mode (Closed)
Patch Set: Created 3 years, 6 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 | « no previous file | chrome/browser/ui/webui/settings/site_settings_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/site_settings/add_site_dialog.js
diff --git a/chrome/browser/resources/settings/site_settings/add_site_dialog.js b/chrome/browser/resources/settings/site_settings/add_site_dialog.js
index 09263f15c9151a02e78bbebd3d344f5e0718764c..91ceb616f6f8e0a582c5dedc387c6b20a8045efd 100644
--- a/chrome/browser/resources/settings/site_settings/add_site_dialog.js
+++ b/chrome/browser/resources/settings/site_settings/add_site_dialog.js
@@ -46,6 +46,7 @@ Polymer({
this.addWebUIListener('onIncognitoStatusChanged', function(hasIncognito) {
this.$.incognito.checked = false;
this.showIncognitoSessionOnly_ = hasIncognito &&
+ !loadTimeData.getBoolean('isGuest') &&
this.contentSetting != settings.PermissionValues.SESSION_ONLY;
}.bind(this));
this.browserProxy.updateIncognitoStatus();
« no previous file with comments | « no previous file | chrome/browser/ui/webui/settings/site_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698