autofill_constants.h revision 7d4cd473f85ac64c3747c96c277f9e506a0d2246
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// Contains constants specific to the Autofill component. 6 7#ifndef COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_CONSTANTS_H_ 8#define COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_CONSTANTS_H_ 9 10#include <stddef.h> // For size_t 11 12namespace autofill { 13 14// Help URL for the Autofill dialog. 15extern const char kHelpURL[]; 16 17// The number of fields required by Autofill. Ideally we could send the forms 18// to Autofill no matter how many fields are in the forms; however, finding the 19// label for each field is a costly operation and we can't spare the cycles if 20// it's not necessary. 21extern const size_t kRequiredAutofillFields; 22 23} // namespace autofill 24 25#endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_CONSTANTS_H_ 26