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

Unified Diff: chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h

Issue 2801993002: Abandon user sign in when policy is retrieved before session started (Closed)
Patch Set: Added comments to new functions Created 3 years, 8 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
Index: chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h
diff --git a/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h
index 4c4021890eae7af03bba8576cec527451d3511eb..683a0416e8166c635563bd9e2b84c64b7efec16d 100644
--- a/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h
@@ -73,6 +73,9 @@ class UserCloudPolicyStoreChromeOS : public UserCloudPolicyStoreBase {
// Called back from SessionManagerClient for policy load operations.
void OnPolicyRetrieved(const std::string& policy_blob);
+ void OnPolicyRetrievedWithError(const std::string& error_name,
Daniel Erat 2017/04/10 18:59:26 please add a comment documenting what calls this a
igorcov 2017/04/18 10:23:18 Done.
+ const std::string& error_message);
+
// Starts validation of the loaded |policy| before installing it.
void ValidateRetrievedPolicy(
std::unique_ptr<enterprise_management::PolicyFetchResponse> policy);

Powered by Google App Engine
This is Rietveld 408576698