Index: components/autofill/core/browser/webdata/autofill_table.h |
diff --git a/components/autofill/core/browser/webdata/autofill_table.h b/components/autofill/core/browser/webdata/autofill_table.h |
index 6bcf0676fc2a3232aa7d05e61a54bc3f31d767ef..b0b949cb6d2f39cae0d21a362100a795377c1581 100644 |
--- a/components/autofill/core/browser/webdata/autofill_table.h |
+++ b/components/autofill/core/browser/webdata/autofill_table.h |
@@ -7,11 +7,11 @@ |
#include <stddef.h> |
+#include <memory> |
#include <vector> |
#include "base/gtest_prod_util.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/memory/scoped_vector.h" |
#include "base/strings/string16.h" |
#include "components/webdata/common/web_database_table.h" |
@@ -307,7 +307,7 @@ class AutofillTable : public WebDatabaseTable { |
virtual bool RemoveAutofillProfile(const std::string& guid); |
// Retrieves a profile with guid |guid|. |
- scoped_ptr<AutofillProfile> GetAutofillProfile(const std::string& guid); |
+ std::unique_ptr<AutofillProfile> GetAutofillProfile(const std::string& guid); |
// Retrieves local/server profiles in the database. Caller owns the returned |
// profiles. |
@@ -330,7 +330,7 @@ class AutofillTable : public WebDatabaseTable { |
bool RemoveCreditCard(const std::string& guid); |
// Retrieves a credit card with guid |guid|. |
- scoped_ptr<CreditCard> GetCreditCard(const std::string& guid); |
+ std::unique_ptr<CreditCard> GetCreditCard(const std::string& guid); |
// Retrieves the local/server credit cards in the database. Caller owns the |
// returned credit cards. |