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

Unified Diff: chrome/browser/autofill/form_structure.cc

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Mostly cosmetic fixup Created 8 years, 3 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: chrome/browser/autofill/form_structure.cc
diff --git a/chrome/browser/autofill/form_structure.cc b/chrome/browser/autofill/form_structure.cc
index 5f19ed6f4adde5bf12ee9527315e3590c534dbeb..8ecd53dded932640984016aba5579f4bdd91c5f2 100644
--- a/chrome/browser/autofill/form_structure.cc
+++ b/chrome/browser/autofill/form_structure.cc
@@ -20,15 +20,15 @@
#include "chrome/browser/autofill/autofill_xml_parser.h"
#include "chrome/browser/autofill/field_types.h"
#include "chrome/browser/autofill/form_field.h"
+#include "content/public/common/form_data.h"
+#include "content/public/common/form_data_predictions.h"
+#include "content/public/common/form_field.h"
+#include "content/public/common/form_field_predictions.h"
#include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
-#include "webkit/forms/form_data.h"
-#include "webkit/forms/form_data_predictions.h"
-#include "webkit/forms/form_field.h"
-#include "webkit/forms/form_field_predictions.h"
-using webkit::forms::FormData;
-using webkit::forms::FormDataPredictions;
-using webkit::forms::FormFieldPredictions;
+using content::FormData;
+using content::FormDataPredictions;
+using content::FormFieldPredictions;
namespace {
@@ -244,7 +244,7 @@ FormStructure::FormStructure(const FormData& form)
has_author_specified_types_(false) {
// Copy the form fields.
std::map<string16, size_t> unique_names;
- for (std::vector<webkit::forms::FormField>::const_iterator field =
+ for (std::vector<content::FormField>::const_iterator field =
form.fields.begin();
field != form.fields.end(); field++) {
// Add all supported form fields (including with empty names) to the
@@ -487,7 +487,7 @@ void FormStructure::GetFieldTypePredictions(
for (std::vector<AutofillField*>::const_iterator field =
form_structure->fields_.begin();
field != form_structure->fields_.end(); ++field) {
- form.data.fields.push_back(webkit::forms::FormField(**field));
+ form.data.fields.push_back(content::FormField(**field));
FormFieldPredictions annotated_field;
annotated_field.signature = (*field)->FieldSignature();

Powered by Google App Engine
This is Rietveld 408576698