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.
5 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_WEB_ELEMENT_DESCRIPTOR_H_
6 #define COMPONENTS_AUTOFILL_CORE_COMMON_WEB_ELEMENT_DESCRIPTOR_H_
12 // Holds information that can be used to retrieve an element.
13 struct WebElementDescriptor
{
14 enum RetrievalMethod
{
20 WebElementDescriptor();
22 // Information to retrieve element with.
23 std::string descriptor
;
25 // Which retrieval method to use.
26 RetrievalMethod retrieval_method
;
29 } // namespace autofill
31 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_WEB_ELEMENT_DESCRIPTOR_H_