Index: chrome/browser/chromeos/policy/device_cloud_policy_initializer.h |
diff --git a/chrome/browser/chromeos/policy/device_cloud_policy_initializer.h b/chrome/browser/chromeos/policy/device_cloud_policy_initializer.h |
index ff6725c11ad66bd2b19d044f89695cf7aa87fe5a..30dfe31fc2977a8e9ceb97520dfd52703819bff2 100644 |
--- a/chrome/browser/chromeos/policy/device_cloud_policy_initializer.h |
+++ b/chrome/browser/chromeos/policy/device_cloud_policy_initializer.h |
@@ -11,7 +11,6 @@ |
#include "base/callback_forward.h" |
#include "base/compiler_specific.h" |
-#include "base/gtest_prod_util.h" |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "chrome/browser/chromeos/policy/server_backed_state_keys_broker.h" |
@@ -98,12 +97,8 @@ |
void OnStoreLoaded(CloudPolicyStore* store) override; |
void OnStoreError(CloudPolicyStore* store) override; |
- // Allows testing code to set a signing service tailored to its needs. |
- void SetSigningServiceForTesting( |
- std::unique_ptr<policy::SigningService> signing_service); |
- |
private: |
- // Signing class implementing the policy::SigningService interface to |
+ // Signing class implemting the policy::SigningService interface to |
// sign data using the enrollment certificate's TPM-bound key. |
class TpmEnrollmentKeySigningService : public policy::SigningService { |
public: |
@@ -153,7 +148,7 @@ |
ServerBackedStateKeysBroker::Subscription state_keys_update_subscription_; |
// Our signing service. |
- std::unique_ptr<SigningService> signing_service_; |
+ TpmEnrollmentKeySigningService signing_service_; |
DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyInitializer); |
}; |