Home | History | Annotate | Download | only in browser
      1 // Copyright 2013 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.
      4 
      5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SERVER_FIELD_INFO_H_
      6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SERVER_FIELD_INFO_H_
      7 
      8 #include <string>
      9 
     10 #include "components/autofill/core/browser/field_types.h"
     11 
     12 namespace autofill {
     13 
     14 struct AutofillServerFieldInfo {
     15   // The predicted type returned by the Autofill server for this field.
     16   ServerFieldType field_type;
     17   // Default value to be used for the field (only applies to
     18   // FIELD_WITH_DEFAULT_TYPE field type)
     19   std::string default_value;
     20 };
     21 
     22 }  // namespace autofill
     23 
     24 #endif  // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SERVER_FIELD_INFO_H_
     25