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

Unified Diff: chrome/common/form_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_data.cc ('k') | chrome/common/form_data_predictions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/form_data_predictions.h
diff --git a/webkit/forms/form_data_predictions.h b/chrome/common/form_data_predictions.h
similarity index 59%
rename from webkit/forms/form_data_predictions.h
rename to chrome/common/form_data_predictions.h
index df3015a006c35aadb738730c01add2f35779f4a0..a4eb28fcd84f00e2f7951869c24cdc5e6d16a1d3 100644
--- a/webkit/forms/form_data_predictions.h
+++ b/chrome/common/form_data_predictions.h
@@ -2,21 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_FORMS_FORM_DATA_PREDICTIONS_H__
-#define WEBKIT_FORMS_FORM_DATA_PREDICTIONS_H__
+#ifndef CHROME_COMMON_FORM_DATA_PREDICTIONS_H__
+#define CHROME_COMMON_FORM_DATA_PREDICTIONS_H__
#include <string>
#include <vector>
-#include "webkit/forms/form_data.h"
-#include "webkit/forms/form_field_predictions.h"
-#include "webkit/forms/webkit_forms_export.h"
-
-namespace webkit {
-namespace forms {
+#include "chrome/common/form_data.h"
+#include "chrome/common/form_field_data_predictions.h"
// Holds information about a form to be filled and/or submitted.
-struct WEBKIT_FORMS_EXPORT FormDataPredictions {
+struct FormDataPredictions {
// Data for this form.
FormData data;
// The form signature for communication with the crowdsourcing server.
@@ -24,14 +20,11 @@ struct WEBKIT_FORMS_EXPORT FormDataPredictions {
// The experiment id for the server predictions.
std::string experiment_id;
// The form fields and their predicted field types.
- std::vector<FormFieldPredictions> fields;
+ std::vector<FormFieldDataPredictions> fields;
FormDataPredictions();
FormDataPredictions(const FormDataPredictions& other);
~FormDataPredictions();
};
-} // namespace forms
-} // namespace webkit
-
-#endif // WEBKIT_FORMS_FORM_DATA_PREDICTIONS_H__
+#endif // CHROME_COMMON_FORM_DATA_PREDICTIONS_H__
« no previous file with comments | « chrome/common/form_data.cc ('k') | chrome/common/form_data_predictions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698