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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_FORMS_FORM_DATA_PREDICTIONS_H__ 5 #ifndef CHROME_COMMON_FORM_DATA_PREDICTIONS_H__
6 #define WEBKIT_FORMS_FORM_DATA_PREDICTIONS_H__ 6 #define CHROME_COMMON_FORM_DATA_PREDICTIONS_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "webkit/forms/form_data.h" 11 #include "chrome/common/form_data.h"
12 #include "webkit/forms/form_field_predictions.h" 12 #include "chrome/common/form_field_data_predictions.h"
13 #include "webkit/forms/webkit_forms_export.h"
14
15 namespace webkit {
16 namespace forms {
17 13
18 // Holds information about a form to be filled and/or submitted. 14 // Holds information about a form to be filled and/or submitted.
19 struct WEBKIT_FORMS_EXPORT FormDataPredictions { 15 struct FormDataPredictions {
20 // Data for this form. 16 // Data for this form.
21 FormData data; 17 FormData data;
22 // The form signature for communication with the crowdsourcing server. 18 // The form signature for communication with the crowdsourcing server.
23 std::string signature; 19 std::string signature;
24 // The experiment id for the server predictions. 20 // The experiment id for the server predictions.
25 std::string experiment_id; 21 std::string experiment_id;
26 // The form fields and their predicted field types. 22 // The form fields and their predicted field types.
27 std::vector<FormFieldPredictions> fields; 23 std::vector<FormFieldDataPredictions> fields;
28 24
29 FormDataPredictions(); 25 FormDataPredictions();
30 FormDataPredictions(const FormDataPredictions& other); 26 FormDataPredictions(const FormDataPredictions& other);
31 ~FormDataPredictions(); 27 ~FormDataPredictions();
32 }; 28 };
33 29
34 } // namespace forms 30 #endif // CHROME_COMMON_FORM_DATA_PREDICTIONS_H__
35 } // namespace webkit
36
37 #endif // WEBKIT_FORMS_FORM_DATA_PREDICTIONS_H__
OLDNEW
« 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