Index: components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc |
diff --git a/components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc b/components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc |
index f4b2699988d8fa785304927ee1eb424a86e0f571..381b5f9d25a02872cfd94d1af4df5bd520e25445 100644 |
--- a/components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc |
+++ b/components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc |
@@ -202,15 +202,6 @@ void CloudPolicyClientRegistrationHelper::StartRegistrationWithLoginToken( |
base::Unretained(this))); |
} |
-void CloudPolicyClientRegistrationHelper::StartRegistrationWithAccessToken( |
- const std::string& access_token, |
- const base::Closure& callback) { |
- DCHECK(!client_->is_registered()); |
- callback_ = callback; |
- client_->AddObserver(this); |
- OnTokenFetched(access_token); |
-} |
- |
// static |
std::vector<std::string> |
CloudPolicyClientRegistrationHelper::GetScopes() { |