By moving the call to Load() up in SearchProvider::Start(), we are giving a chance...
[chromium-blink-merge.git] / chrome / common / autofill / web_element_descriptor.h
bloba5260c1f13b8e90e6f80da750ccc3d8ff1a19c27
1 // Copyright (c) 2012 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_AUTOFILL_WEB_ELEMENT_DESCRIPTOR_H_
6 #define CHROME_COMMON_AUTOFILL_WEB_ELEMENT_DESCRIPTOR_H_
8 #include <string>
10 namespace autofill {
12 // Holds information that can be used to retrieve an element.
13 struct WebElementDescriptor {
14 enum RetrievalMethod {
15 CSS_SELECTOR,
16 ID,
19 WebElementDescriptor();
21 // Information to retrieve element with.
22 std::string descriptor;
24 // Which retrieval method to use.
25 RetrievalMethod retrieval_method;
28 } // namespace autofill
30 #endif // CHROME_COMMON_AUTOFILL_WEB_ELEMENT_DESCRIPTOR_H_