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

Side by Side Diff: chrome/browser/autocomplete/shortcuts_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 (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_SHORTCUTS_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "chrome/browser/autocomplete/shortcuts_backend.h" 13 #include "chrome/browser/autocomplete/shortcuts_backend.h"
14 #include "components/autocomplete/autocomplete_provider.h" 14 #include "components/omnibox/autocomplete_provider.h"
15 15
16 class Profile; 16 class Profile;
17 class ShortcutsProviderTest; 17 class ShortcutsProviderTest;
18 18
19 // Provider of recently autocompleted links. Provides autocomplete suggestions 19 // Provider of recently autocompleted links. Provides autocomplete suggestions
20 // from previously selected suggestions. The more often a user selects a 20 // from previously selected suggestions. The more often a user selects a
21 // suggestion for a given search term the higher will be that suggestion's 21 // suggestion for a given search term the higher will be that suggestion's
22 // ranking for future uses of that search term. 22 // ranking for future uses of that search term.
23 class ShortcutsProvider 23 class ShortcutsProvider
24 : public AutocompleteProvider, 24 : public AutocompleteProvider,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 // The default max relevance unless overridden by a field trial. 104 // The default max relevance unless overridden by a field trial.
105 static const int kShortcutsProviderDefaultMaxRelevance; 105 static const int kShortcutsProviderDefaultMaxRelevance;
106 106
107 Profile* profile_; 107 Profile* profile_;
108 std::string languages_; 108 std::string languages_;
109 bool initialized_; 109 bool initialized_;
110 }; 110 };
111 111
112 #endif // CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ 112 #endif // CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/shortcuts_backend.cc ('k') | chrome/browser/autocomplete/shortcuts_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698