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

Unified Diff: chrome/browser/chromeos/attestation/attestation_policy_observer.cc

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/attestation/attestation_policy_observer.cc
diff --git a/chrome/browser/chromeos/attestation/attestation_policy_observer.cc b/chrome/browser/chromeos/attestation/attestation_policy_observer.cc
index 71930dda646a72327b36fdfdfe8c6be169a0d48b..933996d0a380597d102ff384f67cc09be24b476a 100644
--- a/chrome/browser/chromeos/attestation/attestation_policy_observer.cc
+++ b/chrome/browser/chromeos/attestation/attestation_policy_observer.cc
@@ -158,7 +158,8 @@ void AttestationPolicyObserver::Start() {
cryptohome_client_ = DBusThreadManager::Get()->GetCryptohomeClient();
if (!attestation_flow_) {
- scoped_ptr<ServerProxy> attestation_ca_client(new AttestationCAClient());
+ std::unique_ptr<ServerProxy> attestation_ca_client(
+ new AttestationCAClient());
default_attestation_flow_.reset(new AttestationFlow(
cryptohome::AsyncMethodCaller::GetInstance(), cryptohome_client_,
std::move(attestation_ca_client)));

Powered by Google App Engine
This is Rietveld 408576698