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

Unified Diff: chrome/browser/password_manager/update_password_infobar_delegate.h

Issue 1858513002: chrome/browser/password_manager: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows -- revert unwanted change 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/password_manager/update_password_infobar_delegate.h
diff --git a/chrome/browser/password_manager/update_password_infobar_delegate.h b/chrome/browser/password_manager/update_password_infobar_delegate.h
index ee41a289ab1e358d71bb0b5ee0cc518c9caa2d3f..2a221d28116546efe2ee5bd7e0982d07cae25159 100644
--- a/chrome/browser/password_manager/update_password_infobar_delegate.h
+++ b/chrome/browser/password_manager/update_password_infobar_delegate.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_PASSWORD_MANAGER_UPDATE_PASSWORD_INFOBAR_DELEGATE_H_
#define CHROME_BROWSER_PASSWORD_MANAGER_UPDATE_PASSWORD_INFOBAR_DELEGATE_H_
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/password_manager/password_manager_infobar_delegate.h"
#include "chrome/browser/ui/passwords/manage_passwords_state.h"
#include "components/password_manager/core/browser/password_form_manager.h"
@@ -26,7 +26,7 @@ class UpdatePasswordInfoBarDelegate : public PasswordManagerInfoBarDelegate {
public:
static void Create(
content::WebContents* web_contents,
- scoped_ptr<password_manager::PasswordFormManager> form_to_update);
+ std::unique_ptr<password_manager::PasswordFormManager> form_to_update);
~UpdatePasswordInfoBarDelegate() override;
@@ -53,7 +53,7 @@ class UpdatePasswordInfoBarDelegate : public PasswordManagerInfoBarDelegate {
private:
UpdatePasswordInfoBarDelegate(
content::WebContents* web_contents,
- scoped_ptr<password_manager::PasswordFormManager> form_to_update,
+ std::unique_ptr<password_manager::PasswordFormManager> form_to_update,
bool is_smartlock_branding_enabled);
// ConfirmInfoBarDelegate:

Powered by Google App Engine
This is Rietveld 408576698