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

Unified Diff: chrome/browser/ui/autofill/chrome_autofill_client.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/autofill/chrome_autofill_client.h
diff --git a/chrome/browser/ui/autofill/chrome_autofill_client.h b/chrome/browser/ui/autofill/chrome_autofill_client.h
index f3289520ab38cf4b4fe460125914b7a3ab9f0d55..1437d9c802b05004529c11dc155355266707463e 100644
--- a/chrome/browser/ui/autofill/chrome_autofill_client.h
+++ b/chrome/browser/ui/autofill/chrome_autofill_client.h
@@ -5,13 +5,13 @@
#ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
#define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
+#include <memory>
#include <vector>
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/i18n/rtl.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "components/autofill/core/browser/autofill_client.h"
#include "components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.h"
@@ -60,7 +60,7 @@ class ChromeAutofillClient
const base::Closure& callback) override;
void ConfirmSaveCreditCardToCloud(
const CreditCard& card,
- scoped_ptr<base::DictionaryValue> legal_message,
+ std::unique_ptr<base::DictionaryValue> legal_message,
const base::Closure& callback) override;
void LoadRiskData(
const base::Callback<void(const std::string&)>& callback) override;
@@ -122,7 +122,7 @@ class ChromeAutofillClient
content::RenderFrameHost* last_rfh_to_rac_;
// The identity provider, used for Payments integration.
- scoped_ptr<IdentityProvider> identity_provider_;
+ std::unique_ptr<IdentityProvider> identity_provider_;
DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
};
« no previous file with comments | « chrome/browser/ui/autofill/card_unmask_prompt_view_tester.h ('k') | chrome/browser/ui/autofill/chrome_autofill_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698