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

Side by Side Diff: chrome/browser/autocomplete/history_url_provider.h

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs Created 6 years, 2 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 CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // can insert results in appropriate ranges relative to these. 187 // can insert results in appropriate ranges relative to these.
188 static const int kScoreForBestInlineableResult; 188 static const int kScoreForBestInlineableResult;
189 static const int kScoreForUnvisitedIntranetResult; 189 static const int kScoreForUnvisitedIntranetResult;
190 static const int kScoreForWhatYouTypedResult; 190 static const int kScoreForWhatYouTypedResult;
191 static const int kBaseScoreForNonInlineableResult; 191 static const int kBaseScoreForNonInlineableResult;
192 192
193 HistoryURLProvider(AutocompleteProviderListener* listener, Profile* profile); 193 HistoryURLProvider(AutocompleteProviderListener* listener, Profile* profile);
194 194
195 // HistoryProvider: 195 // HistoryProvider:
196 virtual void Start(const AutocompleteInput& input, 196 virtual void Start(const AutocompleteInput& input,
197 bool minimal_changes) OVERRIDE; 197 bool minimal_changes) override;
198 virtual void Stop(bool clear_cached_results) OVERRIDE; 198 virtual void Stop(bool clear_cached_results) override;
199 199
200 // Returns a match representing a navigation to |destination_url| given user 200 // Returns a match representing a navigation to |destination_url| given user
201 // input of |text|. |trim_http| controls whether the match's |fill_into_edit| 201 // input of |text|. |trim_http| controls whether the match's |fill_into_edit|
202 // and |contents| should have any HTTP scheme stripped off, and should not be 202 // and |contents| should have any HTTP scheme stripped off, and should not be
203 // set to true if |text| contains an http prefix. 203 // set to true if |text| contains an http prefix.
204 // NOTES: This does not set the relevance of the returned match, as different 204 // NOTES: This does not set the relevance of the returned match, as different
205 // callers want different behavior. Callers must set this manually. 205 // callers want different behavior. Callers must set this manually.
206 // This function should only be called on the UI thread. 206 // This function should only be called on the UI thread.
207 AutocompleteMatch SuggestExactInput(const base::string16& text, 207 AutocompleteMatch SuggestExactInput(const base::string16& text,
208 const GURL& destination_url, 208 const GURL& destination_url,
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 // keep this member is so we can set the cancel bit on it. 331 // keep this member is so we can set the cancel bit on it.
332 HistoryURLProviderParams* params_; 332 HistoryURLProviderParams* params_;
333 333
334 // Params controlling experimental behavior of this provider. 334 // Params controlling experimental behavior of this provider.
335 HUPScoringParams scoring_params_; 335 HUPScoringParams scoring_params_;
336 336
337 DISALLOW_COPY_AND_ASSIGN(HistoryURLProvider); 337 DISALLOW_COPY_AND_ASSIGN(HistoryURLProvider);
338 }; 338 };
339 339
340 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ 340 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/history_quick_provider_unittest.cc ('k') | chrome/browser/autocomplete/history_url_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698