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

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

Issue 2276593004: Device registration using an enrollment certificate from the PCA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed constant. Created 4 years, 4 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/enrollment_handler_chromeos.h
diff --git a/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h b/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h
index 194f80933013b13bf1a02cff077067e6d3fefa30..e7d225486cd39ab964ea0d51baa7bafd8ff749b5 100644
--- a/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h
+++ b/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h
@@ -27,17 +27,11 @@ class SequencedTaskRunner;
}
namespace chromeos {
-class CryptohomeClient;
-
namespace attestation {
class AttestationFlow;
}
}
-namespace cryptohome {
-class AsyncMethodCaller;
-}
-
namespace policy {
class DeviceCloudPolicyStoreChromeOS;
@@ -72,8 +66,7 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
DeviceCloudPolicyStoreChromeOS* store,
EnterpriseInstallAttributes* install_attributes,
ServerBackedStateKeysBroker* state_keys_broker,
- cryptohome::AsyncMethodCaller* async_method_caller,
- chromeos::CryptohomeClient* cryptohome_client,
+ chromeos::attestation::AttestationFlow* attestation_flow,
std::unique_ptr<CloudPolicyClient> client,
scoped_refptr<base::SequencedTaskRunner> background_task_runner,
const EnrollmentConfig& enrollment_config,
@@ -175,12 +168,10 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
DeviceCloudPolicyStoreChromeOS* store_;
EnterpriseInstallAttributes* install_attributes_;
ServerBackedStateKeysBroker* state_keys_broker_;
- cryptohome::AsyncMethodCaller* async_method_caller_;
- chromeos::CryptohomeClient* cryptohome_client_;
+ chromeos::attestation::AttestationFlow* attestation_flow_;
std::unique_ptr<CloudPolicyClient> client_;
scoped_refptr<base::SequencedTaskRunner> background_task_runner_;
std::unique_ptr<gaia::GaiaOAuthClient> gaia_oauth_client_;
- std::unique_ptr<chromeos::attestation::AttestationFlow> attestation_flow_;
EnrollmentConfig enrollment_config_;
std::string auth_token_;

Powered by Google App Engine
This is Rietveld 408576698