By moving the call to Load() up in SearchProvider::Start(), we are giving a chance...
[chromium-blink-merge.git] / chrome / common / form_data_predictions.h
bloba4eb28fcd84f00e2f7951869c24cdc5e6d16a1d3
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
3 // found in the LICENSE file.
5 #ifndef CHROME_COMMON_FORM_DATA_PREDICTIONS_H__
6 #define CHROME_COMMON_FORM_DATA_PREDICTIONS_H__
8 #include <string>
9 #include <vector>
11 #include "chrome/common/form_data.h"
12 #include "chrome/common/form_field_data_predictions.h"
14 // Holds information about a form to be filled and/or submitted.
15 struct FormDataPredictions {
16 // Data for this form.
17 FormData data;
18 // The form signature for communication with the crowdsourcing server.
19 std::string signature;
20 // The experiment id for the server predictions.
21 std::string experiment_id;
22 // The form fields and their predicted field types.
23 std::vector<FormFieldDataPredictions> fields;
25 FormDataPredictions();
26 FormDataPredictions(const FormDataPredictions& other);
27 ~FormDataPredictions();
30 #endif // CHROME_COMMON_FORM_DATA_PREDICTIONS_H__