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

Unified Diff: chrome/browser/chromeos/policy/device_local_account_policy_store.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
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_local_account_policy_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/policy/device_local_account_policy_store.h
diff --git a/chrome/browser/chromeos/policy/device_local_account_policy_store.h b/chrome/browser/chromeos/policy/device_local_account_policy_store.h
index 745f048ea1b1554ff75196f7b7ac163fa281130e..b8945f8ace7335b6f0f4786220a842555831b3c6 100644
--- a/chrome/browser/chromeos/policy/device_local_account_policy_store.h
+++ b/chrome/browser/chromeos/policy/device_local_account_policy_store.h
@@ -14,7 +14,6 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/chromeos/settings/device_settings_service.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"
@@ -22,6 +21,10 @@ namespace base {
class SequencedTaskRunner;
}
+namespace chromeos {
+class SessionManagerClient;
+}
+
namespace enterprise_management {
class PolicyFetchResponse;
}
@@ -56,10 +59,8 @@ class DeviceLocalAccountPolicyStore : public UserCloudPolicyStoreBase {
// Called back by |session_manager_client_| after policy retrieval. Checks for
// success and triggers policy validation.
- void ValidateLoadedPolicyBlob(
- bool validate_in_background,
- const std::string& policy_blob,
- chromeos::SessionManagerClient::RetrievePolicyResponseType response_type);
+ void ValidateLoadedPolicyBlob(bool validate_in_background,
+ const std::string& policy_blob);
// Updates state after validation and notifies observers.
void UpdatePolicy(const std::string& signature_validation_public_key,
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_local_account_policy_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698