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

Unified Diff: components/autofill/core/browser/payments/payments_request.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/core/browser/payments/payments_request.h
diff --git a/components/autofill/core/browser/payments/payments_request.h b/components/autofill/core/browser/payments/payments_request.h
index be59661dea9a1b54ddd85d2fe5676ee13b01012a..6466d223264f9a9493b5c104c386d681770a1d57 100644
--- a/components/autofill/core/browser/payments/payments_request.h
+++ b/components/autofill/core/browser/payments/payments_request.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_PAYMENTS_PAYMENTS_REQUEST_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_PAYMENTS_PAYMENTS_REQUEST_H_
+#include <memory>
+
namespace autofill {
class AutofillClient;
@@ -28,7 +30,8 @@ class PaymentsRequest {
virtual std::string GetRequestContent() = 0;
// Parses the required elements of the HTTP response.
- virtual void ParseResponse(scoped_ptr<base::DictionaryValue> response) = 0;
+ virtual void ParseResponse(
+ std::unique_ptr<base::DictionaryValue> response) = 0;
// Returns true if all of the required elements were successfully retrieved by
// a call to ParseResponse.
« no previous file with comments | « components/autofill/core/browser/payments/payments_client.cc ('k') | components/autofill/core/browser/personal_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698