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

Unified Diff: chrome/browser/sessions/restore_on_startup_policy_handler.cc

Issue 2921903002: Remove handling of ClearSiteDataOnExit policy (Closed)
Patch Set: Remove unit test 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/restore_on_startup_policy_handler.cc
diff --git a/chrome/browser/sessions/restore_on_startup_policy_handler.cc b/chrome/browser/sessions/restore_on_startup_policy_handler.cc
index ff6946b68e82847ccad45f42b89b834f6888f843..56a2fe3b01ab0a08150e1405470e9d5761fd911c 100644
--- a/chrome/browser/sessions/restore_on_startup_policy_handler.cc
+++ b/chrome/browser/sessions/restore_on_startup_policy_handler.cc
@@ -64,16 +64,6 @@ bool RestoreOnStartupPolicyHandler::CheckPolicySettings(
IDS_POLICY_OVERRIDDEN,
key::kRestoreOnStartup);
}
-
- const base::Value* exit_policy =
- policies.GetValue(key::kClearSiteDataOnExit);
- bool exit_value;
- if (exit_policy && exit_policy->GetAsBoolean(&exit_value) &&
- exit_value) {
- errors->AddError(key::kClearSiteDataOnExit,
- IDS_POLICY_OVERRIDDEN,
- key::kRestoreOnStartup);
- }
break;
}
case SessionStartupPref::kPrefValueURLs:
« no previous file with comments | « no previous file | chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698