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

Unified Diff: components/autofill/core/browser/address_field.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/address_field.h
diff --git a/components/autofill/core/browser/address_field.h b/components/autofill/core/browser/address_field.h
index 9afb770c805a4c7dcab720fef29a1db9b7f660a6..a6117cb81f8e75633aa1b5da09cf593bd01cad9e 100644
--- a/components/autofill/core/browser/address_field.h
+++ b/components/autofill/core/browser/address_field.h
@@ -5,12 +5,12 @@
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_ADDRESS_FIELD_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_ADDRESS_FIELD_H_
+#include <memory>
#include <vector>
#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "components/autofill/core/browser/autofill_type.h"
#include "components/autofill/core/browser/form_field.h"
@@ -22,7 +22,7 @@ class AutofillScanner;
class AddressField : public FormField {
public:
- static scoped_ptr<FormField> Parse(AutofillScanner* scanner);
+ static std::unique_ptr<FormField> Parse(AutofillScanner* scanner);
protected:
void AddClassifications(FieldCandidatesMap* field_candidates) const override;
« no previous file with comments | « components/autofill/content/renderer/password_generation_agent.cc ('k') | components/autofill/core/browser/address_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698