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

Unified Diff: chrome/browser/ui/passwords/password_dialog_controller_impl.h

Issue 1865213004: Convert //chrome/browser/ui 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/ui/passwords/password_dialog_controller_impl.h
diff --git a/chrome/browser/ui/passwords/password_dialog_controller_impl.h b/chrome/browser/ui/passwords/password_dialog_controller_impl.h
index 0ec61b4928ddef19a9cedf291a1b117147652eeb..b1923e286e589b8ca6a1fcb1611635d632b09140 100644
--- a/chrome/browser/ui/passwords/password_dialog_controller_impl.h
+++ b/chrome/browser/ui/passwords/password_dialog_controller_impl.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_UI_PASSWORDS_PASSWORD_DIALOG_CONTROLLER_IMPL_H_
#define CHROME_BROWSER_UI_PASSWORDS_PASSWORD_DIALOG_CONTROLLER_IMPL_H_
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/passwords/password_dialog_controller.h"
class AccountChooserPrompt;
@@ -55,8 +55,8 @@ class PasswordDialogControllerImpl : public PasswordDialogController {
PasswordsModelDelegate* const delegate_;
AccountChooserPrompt* account_chooser_dialog_;
AutoSigninFirstRunPrompt* autosignin_dialog_;
- std::vector<scoped_ptr<autofill::PasswordForm>> local_credentials_;
- std::vector<scoped_ptr<autofill::PasswordForm>> federated_credentials_;
+ std::vector<std::unique_ptr<autofill::PasswordForm>> local_credentials_;
+ std::vector<std::unique_ptr<autofill::PasswordForm>> federated_credentials_;
DISALLOW_COPY_AND_ASSIGN(PasswordDialogControllerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698