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

Unified Diff: components/autofill/content/browser/wallet/wallet_test_util.h

Issue 1859453002: components/autofill: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed 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: components/autofill/content/browser/wallet/wallet_test_util.h
diff --git a/components/autofill/content/browser/wallet/wallet_test_util.h b/components/autofill/content/browser/wallet/wallet_test_util.h
index cd9fb17dd46c9cb6f324201c29b864c2520169f0..e99d802a0d515c7ff3231df14ce313f87fa61341 100644
--- a/components/autofill/content/browser/wallet/wallet_test_util.h
+++ b/components/autofill/content/browser/wallet/wallet_test_util.h
@@ -5,9 +5,9 @@
#ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_
#define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_
+#include <memory>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
namespace autofill {
@@ -18,13 +18,13 @@ class FullWallet;
std::vector<base::string16> StreetAddress(const std::string& line1,
const std::string& line2);
-scoped_ptr<Address> GetTestAddress();
-scoped_ptr<Address> GetTestMinimalAddress();
-scoped_ptr<FullWallet> GetTestFullWallet();
-scoped_ptr<FullWallet> GetTestFullWalletInstrumentOnly();
-scoped_ptr<Address> GetTestSaveableAddress();
-scoped_ptr<Address> GetTestShippingAddress();
-scoped_ptr<Address> GetTestNonDefaultShippingAddress();
+std::unique_ptr<Address> GetTestAddress();
+std::unique_ptr<Address> GetTestMinimalAddress();
+std::unique_ptr<FullWallet> GetTestFullWallet();
+std::unique_ptr<FullWallet> GetTestFullWalletInstrumentOnly();
+std::unique_ptr<Address> GetTestSaveableAddress();
+std::unique_ptr<Address> GetTestShippingAddress();
+std::unique_ptr<Address> GetTestNonDefaultShippingAddress();
} // namespace wallet
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698