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

Unified Diff: chrome/browser/ui/passwords/password_ui_view.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_ui_view.h
diff --git a/chrome/browser/ui/passwords/password_ui_view.h b/chrome/browser/ui/passwords/password_ui_view.h
index 3c112ebdc2742b2cdbb9523c1045b0f5a7453670..5f70150797026dae747cbf0b5d34eb82baf6af50 100644
--- a/chrome/browser/ui/passwords/password_ui_view.h
+++ b/chrome/browser/ui/passwords/password_ui_view.h
@@ -7,10 +7,10 @@
#include <stddef.h>
+#include <memory>
#include <string>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "build/build_config.h"
#include "ui/gfx/native_widget_types.h"
@@ -45,12 +45,13 @@ class PasswordUIView {
// |password_list| the list of saved password entries.
// |show_passwords| true if the passwords should be shown in the UI.
virtual void SetPasswordList(
- const std::vector<scoped_ptr<autofill::PasswordForm>>& password_list) = 0;
+ const std::vector<std::unique_ptr<autofill::PasswordForm>>&
+ password_list) = 0;
// Updates the list of password exceptions in the UI.
// |password_exception_list| The list of saved password exceptions.
virtual void SetPasswordExceptionList(
- const std::vector<scoped_ptr<autofill::PasswordForm>>&
+ const std::vector<std::unique_ptr<autofill::PasswordForm>>&
password_exception_list) = 0;
#if !defined(OS_ANDROID)
// Returns the top level NativeWindow for the view.

Powered by Google App Engine
This is Rietveld 408576698