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

Unified Diff: ios/chrome/browser/ui/autofill/autofill_client_ios.h

Issue 1861593005: Convert //ios 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: ios/chrome/browser/ui/autofill/autofill_client_ios.h
diff --git a/ios/chrome/browser/ui/autofill/autofill_client_ios.h b/ios/chrome/browser/ui/autofill/autofill_client_ios.h
index e3e87ba2c0a01c3adee3a88f4e23d781f4576edb..646c154f4cc99f9062bd5d53a857a9d3b12488d6 100644
--- a/ios/chrome/browser/ui/autofill/autofill_client_ios.h
+++ b/ios/chrome/browser/ui/autofill/autofill_client_ios.h
@@ -5,11 +5,11 @@
#ifndef IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_
#define IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_
+#include <memory>
#include <vector>
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/autofill/core/browser/autofill_client.h"
#include "components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.h"
#include "components/autofill/ios/browser/autofill_client_ios_bridge.h"
@@ -46,7 +46,7 @@ class AutofillClientIOS : public AutofillClient {
infobars::InfoBarManager* infobar_manager,
id<AutofillClientIOSBridge> bridge,
password_manager::PasswordGenerationManager* password_generation_manager,
- scoped_ptr<IdentityProvider> identity_provider);
+ std::unique_ptr<IdentityProvider> identity_provider);
~AutofillClientIOS() override;
// AutofillClient implementation.
@@ -64,7 +64,7 @@ class AutofillClientIOS : public AutofillClient {
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;
@@ -98,7 +98,7 @@ class AutofillClientIOS : public AutofillClient {
infobars::InfoBarManager* infobar_manager_;
id<AutofillClientIOSBridge> bridge_; // Weak
password_manager::PasswordGenerationManager* password_generation_manager_;
- scoped_ptr<IdentityProvider> identity_provider_;
+ std::unique_ptr<IdentityProvider> identity_provider_;
CardUnmaskPromptControllerImpl unmask_controller_;
DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS);

Powered by Google App Engine
This is Rietveld 408576698