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

Unified Diff: chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.h

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/login/easy_unlock/easy_unlock_create_keys_operation.h
diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.h b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.h
index 806e74bf139e034d743bb000aa2ce6f16183fa44..151ce489cf1555442585df7d3a13a1501bf1d986 100644
--- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.h
+++ b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.h
@@ -7,11 +7,11 @@
#include <stddef.h>
+#include <memory>
#include <string>
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.h"
#include "chromeos/login/auth/user_context.h"
@@ -58,7 +58,7 @@ class EasyUnlockCreateKeysOperation {
// Index of the key to be created.
size_t key_creation_index_;
- scoped_ptr<ChallengeCreator> challenge_creator_;
+ std::unique_ptr<ChallengeCreator> challenge_creator_;
base::WeakPtrFactory<EasyUnlockCreateKeysOperation> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698