OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_PROVIDER_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_PROVIDER_H_ |
6 #define COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_PROVIDER_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_PROVIDER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/gtest_prod_util.h" |
9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
10 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
11 #include "components/metrics/proto/omnibox_event.pb.h" | 12 #include "components/metrics/proto/omnibox_event.pb.h" |
12 #include "components/omnibox/browser/autocomplete_match.h" | 13 #include "components/omnibox/browser/autocomplete_match.h" |
13 | 14 |
14 class AutocompleteInput; | 15 class AutocompleteInput; |
15 | 16 |
16 typedef std::vector<metrics::OmniboxEventProto_ProviderInfo> ProvidersInfo; | 17 typedef std::vector<metrics::OmniboxEventProto_ProviderInfo> ProvidersInfo; |
17 | 18 |
18 // The AutocompleteProviders each return different kinds of matches, | 19 // The AutocompleteProviders each return different kinds of matches, |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 ACMatches matches_; | 252 ACMatches matches_; |
252 bool done_; | 253 bool done_; |
253 | 254 |
254 Type type_; | 255 Type type_; |
255 | 256 |
256 private: | 257 private: |
257 DISALLOW_COPY_AND_ASSIGN(AutocompleteProvider); | 258 DISALLOW_COPY_AND_ASSIGN(AutocompleteProvider); |
258 }; | 259 }; |
259 | 260 |
260 #endif // COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_PROVIDER_H_ | 261 #endif // COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_PROVIDER_H_ |
OLD | NEW |