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

Unified Diff: chrome/common/form_field_data_predictions.h

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 2 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
« no previous file with comments | « chrome/common/form_field_data.cc ('k') | chrome/common/form_field_data_predictions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/form_field_data_predictions.h
diff --git a/webkit/forms/form_field_predictions.h b/chrome/common/form_field_data_predictions.h
similarity index 42%
rename from webkit/forms/form_field_predictions.h
rename to chrome/common/form_field_data_predictions.h
index 95f2d824db1d1d507d13fdba63606f74b3d57b5a..8dc5e349dabdc077191c729a2bd7783f498b2c64 100644
--- a/webkit/forms/form_field_predictions.h
+++ b/chrome/common/form_field_data_predictions.h
@@ -2,32 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_FORMS_FORM_FIELD_PREDICTIONS_H_
-#define WEBKIT_FORMS_FORM_FIELD_PREDICTIONS_H_
+#ifndef CHROME_COMMON_FORM_FIELD_DATA_PREDICTIONS_H_
+#define CHROME_COMMON_FORM_FIELD_DATA_PREDICTIONS_H_
#include <string>
#include <vector>
-#include "webkit/forms/form_field.h"
-#include "webkit/forms/webkit_forms_export.h"
-
-namespace webkit {
-namespace forms {
+#include "chrome/common/form_field_data.h"
// Stores information about a field in a form.
-struct WEBKIT_FORMS_EXPORT FormFieldPredictions {
- FormFieldPredictions();
- FormFieldPredictions(const FormFieldPredictions& other);
- ~FormFieldPredictions();
+struct FormFieldDataPredictions {
+ FormFieldDataPredictions();
+ FormFieldDataPredictions(const FormFieldDataPredictions& other);
+ ~FormFieldDataPredictions();
- FormField field;
+ FormFieldData field;
std::string signature;
std::string heuristic_type;
std::string server_type;
std::string overall_type;
};
-} // namespace forms
-} // namespace webkit
-
-#endif // WEBKIT_FORMS_FORM_FIELD_PREDICTIONS_H_
+#endif // CHROME_COMMON_FORM_FIELD_DATA_PREDICTIONS_H_
« no previous file with comments | « chrome/common/form_field_data.cc ('k') | chrome/common/form_field_data_predictions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698