| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "chrome/browser/autocomplete/autocomplete_match.h" | 13 #include "chrome/browser/autocomplete/autocomplete_match.h" |
| 14 #include "chrome/common/metrics/proto/omnibox_event.pb.h" | 14 #include "components/metrics/proto/omnibox_event.pb.h" |
| 15 | 15 |
| 16 class AutocompleteInput; | 16 class AutocompleteInput; |
| 17 class AutocompleteProviderListener; | 17 class AutocompleteProviderListener; |
| 18 class GURL; | 18 class GURL; |
| 19 class Profile; | 19 class Profile; |
| 20 | 20 |
| 21 typedef std::vector<metrics::OmniboxEventProto_ProviderInfo> ProvidersInfo; | 21 typedef std::vector<metrics::OmniboxEventProto_ProviderInfo> ProvidersInfo; |
| 22 | 22 |
| 23 // The AutocompleteProviders each return different kinds of matches, | 23 // The AutocompleteProviders each return different kinds of matches, |
| 24 // such as history or search matches. These matches are given | 24 // such as history or search matches. These matches are given |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 | 277 |
| 278 Type type_; | 278 Type type_; |
| 279 | 279 |
| 280 private: | 280 private: |
| 281 DISALLOW_COPY_AND_ASSIGN(AutocompleteProvider); | 281 DISALLOW_COPY_AND_ASSIGN(AutocompleteProvider); |
| 282 }; | 282 }; |
| 283 | 283 |
| 284 typedef std::vector<AutocompleteProvider*> ACProviders; | 284 typedef std::vector<AutocompleteProvider*> ACProviders; |
| 285 | 285 |
| 286 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_H_ | 286 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_H_ |
| OLD | NEW |