summaryrefslogtreecommitdiffstats
path: root/chromeos/attestation/attestation_flow.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/attestation/attestation_flow.h')
-rw-r--r--chromeos/attestation/attestation_flow.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chromeos/attestation/attestation_flow.h b/chromeos/attestation/attestation_flow.h
index 572be93..76049d7 100644
--- a/chromeos/attestation/attestation_flow.h
+++ b/chromeos/attestation/attestation_flow.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/callback_forward.h"
+#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "chromeos/chromeos_export.h"
#include "chromeos/dbus/dbus_method_call_status.h"
@@ -54,7 +55,7 @@ class CHROMEOS_EXPORT AttestationFlow {
AttestationFlow(cryptohome::AsyncMethodCaller* async_caller,
CryptohomeClient* cryptohome_client,
- ServerProxy* server_proxy);
+ scoped_ptr<ServerProxy> server_proxy);
virtual ~AttestationFlow();
// Asynchronously gets an attestation certificate bound to the given name.
@@ -165,7 +166,7 @@ class CHROMEOS_EXPORT AttestationFlow {
base::WeakPtrFactory<AttestationFlow> weak_factory_;
cryptohome::AsyncMethodCaller* async_caller_;
CryptohomeClient* cryptohome_client_;
- ServerProxy* server_proxy_;
+ scoped_ptr<ServerProxy> server_proxy_;
DISALLOW_COPY_AND_ASSIGN(AttestationFlow);
};