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

Side by Side Diff: components/omnibox/browser/history_quick_provider.h

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 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
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 COMPONENTS_OMNIBOX_BROWSER_HISTORY_QUICK_PROVIDER_H_ 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_HISTORY_QUICK_PROVIDER_H_
6 #define COMPONENTS_OMNIBOX_BROWSER_HISTORY_QUICK_PROVIDER_H_ 6 #define COMPONENTS_OMNIBOX_BROWSER_HISTORY_QUICK_PROVIDER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // Performs the autocomplete matching and scoring. 47 // Performs the autocomplete matching and scoring.
48 void DoAutocomplete(); 48 void DoAutocomplete();
49 49
50 // Creates an AutocompleteMatch from |history_match|, assigning it 50 // Creates an AutocompleteMatch from |history_match|, assigning it
51 // the score |score|. 51 // the score |score|.
52 AutocompleteMatch QuickMatchToACMatch(const ScoredHistoryMatch& history_match, 52 AutocompleteMatch QuickMatchToACMatch(const ScoredHistoryMatch& history_match,
53 int score); 53 int score);
54 54
55 AutocompleteInput autocomplete_input_; 55 AutocompleteInput autocomplete_input_;
56 std::string languages_;
57 InMemoryURLIndex* in_memory_url_index_; // Not owned by this class. 56 InMemoryURLIndex* in_memory_url_index_; // Not owned by this class.
58 57
59 // This provider is disabled when true. 58 // This provider is disabled when true.
60 static bool disabled_; 59 static bool disabled_;
61 60
62 DISALLOW_COPY_AND_ASSIGN(HistoryQuickProvider); 61 DISALLOW_COPY_AND_ASSIGN(HistoryQuickProvider);
63 }; 62 };
64 63
65 #endif // COMPONENTS_OMNIBOX_BROWSER_HISTORY_QUICK_PROVIDER_H_ 64 #endif // COMPONENTS_OMNIBOX_BROWSER_HISTORY_QUICK_PROVIDER_H_
OLDNEW
« no previous file with comments | « components/omnibox/browser/clipboard_url_provider.cc ('k') | components/omnibox/browser/history_quick_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698