From 9bd55dd9a678f17ccc94224820db1ee14fb25712 Mon Sep 17 00:00:00 2001 From: stevenjb Date: Mon, 22 Feb 2016 15:22:47 -0800 Subject: Revert of No longer start up profile if there was an error fetching policy. (patchset #13 id:240001 of https://codereview.chromium.org/1608533002/ ) Reason for revert: Causing login failures in VMTests and HWTests: https://bugs.chromium.org/p/chromium/issues/detail?id=588739 Original issue's description: > No longer start up profile if there was an error fetching policy. > > Changed UserCloudPolicyManagerChromeOS to no longer complete profile > initialization if there is an error fetching policy. Instead, we shutdown the > user and force a policy load the next time we try to startup that user. > > BUG=532317 > TBR=vitalybuka > > Committed: https://crrev.com/b5eef9438be6954840df6c39f518ff042815ac7f > Cr-Commit-Position: refs/heads/master@{#376484} TBR=bartfab@chromium.org,tnagel@chromium.org,dzhioev@chromium.org,vitalybuka@chromium.org,atwilson@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=532317 Review URL: https://codereview.chromium.org/1722653003 Cr-Commit-Position: refs/heads/master@{#376852} --- chromeos/chromeos_switches.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'chromeos/chromeos_switches.cc') diff --git a/chromeos/chromeos_switches.cc b/chromeos/chromeos_switches.cc index afb9b83f..249cfab 100644 --- a/chromeos/chromeos_switches.cc +++ b/chromeos/chromeos_switches.cc @@ -12,11 +12,6 @@ namespace chromeos { namespace switches { -// If this flag is passed, failed policy fetches will not cause profile -// initialization to fail. This is useful for tests because it means that -// tests don't have to mock out the policy infrastructure. -const char kAllowFailedPolicyFetchForTest[] = - "allow-failed-policy-fetch-for-test"; // Allows remote attestation (RA) in dev mode for testing purpose. Usually RA // is disabled in dev mode because it will always fail. However, there are cases -- cgit v1.1