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

Unified Diff: chromeos/attestation/attestation_flow.cc

Issue 12556004: Created AttestationPolicyObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: chromeos/attestation/attestation_flow.cc
diff --git a/chromeos/attestation/attestation_flow.cc b/chromeos/attestation/attestation_flow.cc
index b60e1947c3916fec80c44eddb8dc7478a900b952..05bcefc3fd05b3beba27270461ef37df4296eb03 100644
--- a/chromeos/attestation/attestation_flow.cc
+++ b/chromeos/attestation/attestation_flow.cc
@@ -44,11 +44,11 @@ const char AttestationFlow::kEnterpriseMachineKey[] = "attest-ent-machine";
AttestationFlow::AttestationFlow(cryptohome::AsyncMethodCaller* async_caller,
CryptohomeClient* cryptohome_client,
- ServerProxy* server_proxy)
+ scoped_ptr<ServerProxy> server_proxy)
: ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)),
async_caller_(async_caller),
cryptohome_client_(cryptohome_client),
- server_proxy_(server_proxy) {
+ server_proxy_(server_proxy.Pass()) {
}
AttestationFlow::~AttestationFlow() {

Powered by Google App Engine
This is Rietveld 408576698