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

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

Issue 2890433002: Revert "Abandon user sign in when policy is retrieved before session started." (Closed)
Patch Set: 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
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 5d4e9f61e70a67b37669e99fd63947fc12e2c8dc..4c4021890eae7af03bba8576cec527451d3511eb 100644
--- a/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h
@@ -15,7 +15,6 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "chromeos/dbus/dbus_method_call_status.h"
-#include "chromeos/dbus/session_manager_client.h"
#include "components/policy/core/common/cloud/cloud_policy_validator.h"
#include "components/policy/core/common/cloud/user_cloud_policy_store_base.h"
#include "components/signin/core/account_id/account_id.h"
@@ -26,6 +25,7 @@ class SequencedTaskRunner;
namespace chromeos {
class CryptohomeClient;
+class SessionManagerClient;
}
namespace policy {
@@ -71,9 +71,7 @@ class UserCloudPolicyStoreChromeOS : public UserCloudPolicyStoreBase {
void OnPolicyStored(bool success);
// Called back from SessionManagerClient for policy load operations.
- void OnPolicyRetrieved(
- const std::string& policy_blob,
- chromeos::SessionManagerClient::RetrievePolicyResponseType response);
+ void OnPolicyRetrieved(const std::string& policy_blob);
// Starts validation of the loaded |policy| before installing it.
void ValidateRetrievedPolicy(

Powered by Google App Engine
This is Rietveld 408576698