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

Unified Diff: components/autofill/core/browser/name_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/name_field.h
diff --git a/components/autofill/core/browser/name_field.h b/components/autofill/core/browser/name_field.h
index e0356b427c632a753fcea1980c618974d98d7eba..459f0d4e1c69e88f3605a97c35a73e324902deeb 100644
--- a/components/autofill/core/browser/name_field.h
+++ b/components/autofill/core/browser/name_field.h
@@ -5,12 +5,12 @@
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_NAME_FIELD_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_NAME_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 "components/autofill/core/browser/autofill_field.h"
#include "components/autofill/core/browser/form_field.h"
@@ -21,7 +21,7 @@ class AutofillScanner;
// A form field that can parse either a FullNameField or a FirstLastNameField.
class NameField : public FormField {
public:
- static scoped_ptr<FormField> Parse(AutofillScanner* scanner);
+ static std::unique_ptr<FormField> Parse(AutofillScanner* scanner);
protected:
NameField() {}
« no previous file with comments | « components/autofill/core/browser/legal_message_line_unittest.cc ('k') | components/autofill/core/browser/name_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698