| 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 <stddef.h> | 
|  | 9 | 
| 9 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" | 
|  | 11 #include "base/macros.h" | 
| 10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" | 
| 11 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" | 
| 12 #include "components/metrics/proto/omnibox_event.pb.h" | 14 #include "components/metrics/proto/omnibox_event.pb.h" | 
| 13 #include "components/omnibox/browser/autocomplete_match.h" | 15 #include "components/omnibox/browser/autocomplete_match.h" | 
| 14 | 16 | 
| 15 class AutocompleteInput; | 17 class AutocompleteInput; | 
| 16 | 18 | 
| 17 typedef std::vector<metrics::OmniboxEventProto_ProviderInfo> ProvidersInfo; | 19 typedef std::vector<metrics::OmniboxEventProto_ProviderInfo> ProvidersInfo; | 
| 18 | 20 | 
| 19 // The AutocompleteProviders each return different kinds of matches, | 21 // The AutocompleteProviders each return different kinds of matches, | 
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 252   ACMatches matches_; | 254   ACMatches matches_; | 
| 253   bool done_; | 255   bool done_; | 
| 254 | 256 | 
| 255   Type type_; | 257   Type type_; | 
| 256 | 258 | 
| 257  private: | 259  private: | 
| 258   DISALLOW_COPY_AND_ASSIGN(AutocompleteProvider); | 260   DISALLOW_COPY_AND_ASSIGN(AutocompleteProvider); | 
| 259 }; | 261 }; | 
| 260 | 262 | 
| 261 #endif  // COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_PROVIDER_H_ | 263 #endif  // COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_PROVIDER_H_ | 
| OLD | NEW | 
|---|