Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: components/omnibox/autocomplete_provider.h

Issue 443043003: Rename components/autocomplete to components/omnibox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_H_ 5 #ifndef COMPONENTS_OMNIBOX_AUTOCOMPLETE_PROVIDER_H_
6 #define COMPONENTS_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_H_ 6 #define COMPONENTS_OMNIBOX_AUTOCOMPLETE_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "components/autocomplete/autocomplete_match.h"
12 #include "components/metrics/proto/omnibox_event.pb.h" 11 #include "components/metrics/proto/omnibox_event.pb.h"
12 #include "components/omnibox/autocomplete_match.h"
13 13
14 class AutocompleteInput; 14 class AutocompleteInput;
15 15
16 typedef std::vector<metrics::OmniboxEventProto_ProviderInfo> ProvidersInfo; 16 typedef std::vector<metrics::OmniboxEventProto_ProviderInfo> ProvidersInfo;
17 17
18 // The AutocompleteProviders each return different kinds of matches, 18 // The AutocompleteProviders each return different kinds of matches,
19 // such as history or search matches. These matches are given 19 // such as history or search matches. These matches are given
20 // "relevance" scores. Higher scores are better matches than lower 20 // "relevance" scores. Higher scores are better matches than lower
21 // scores. The relevance scores and classes providing the respective 21 // scores. The relevance scores and classes providing the respective
22 // matches are as listed below. 22 // matches are as listed below.
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 238
239 ACMatches matches_; 239 ACMatches matches_;
240 bool done_; 240 bool done_;
241 241
242 Type type_; 242 Type type_;
243 243
244 private: 244 private:
245 DISALLOW_COPY_AND_ASSIGN(AutocompleteProvider); 245 DISALLOW_COPY_AND_ASSIGN(AutocompleteProvider);
246 }; 246 };
247 247
248 #endif // COMPONENTS_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_H_ 248 #endif // COMPONENTS_OMNIBOX_AUTOCOMPLETE_PROVIDER_H_
OLDNEW
« no previous file with comments | « components/omnibox/autocomplete_match_unittest.cc ('k') | components/omnibox/autocomplete_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698