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

Unified Diff: chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.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_key_manager.h
diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.h b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.h
index 4bc63d46bbe50fefe5f914e8c509bd60b5d37058..68a6552a14ca24eff6b9a25b80a1e972662a7589 100644
--- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.h
+++ b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.h
@@ -115,8 +115,8 @@ class EasyUnlockKeyManager {
// Stores the current operation in progress. At most one of these variables
// can be non-null at any time.
- scoped_ptr<EasyUnlockRefreshKeysOperation> pending_write_operation_;
- scoped_ptr<EasyUnlockGetKeysOperation> pending_read_operation_;
+ std::unique_ptr<EasyUnlockRefreshKeysOperation> pending_write_operation_;
+ std::unique_ptr<EasyUnlockGetKeysOperation> pending_read_operation_;
base::WeakPtrFactory<EasyUnlockKeyManager> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698