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

Unified Diff: chrome/browser/ui/passwords/password_dialog_controller.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.h
diff --git a/chrome/browser/ui/passwords/password_dialog_controller.h b/chrome/browser/ui/passwords/password_dialog_controller.h
index a0c488c334a043daf2adbff8de52f8d6980d5f4e..02b0fc447f2a57ee80a125501947f452a8e02f56 100644
--- a/chrome/browser/ui/passwords/password_dialog_controller.h
+++ b/chrome/browser/ui/passwords/password_dialog_controller.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_UI_PASSWORDS_PASSWORD_DIALOG_CONTROLLER_H_
#define CHROME_BROWSER_UI_PASSWORDS_PASSWORD_DIALOG_CONTROLLER_H_
+#include <memory>
#include <utility>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "components/password_manager/core/common/credential_manager_types.h"
#include "ui/gfx/range/range.h"
@@ -21,7 +21,7 @@ struct PasswordForm;
// and retrieving the state.
class PasswordDialogController {
public:
- using FormsVector = std::vector<scoped_ptr<autofill::PasswordForm>>;
+ using FormsVector = std::vector<std::unique_ptr<autofill::PasswordForm>>;
// Returns forms from the password database for the current site.
virtual const FormsVector& GetLocalForms() const = 0;

Powered by Google App Engine
This is Rietveld 408576698