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

Side by Side Diff: chrome/browser/autocomplete/chrome_autocomplete_provider_client.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 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 CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_
7 7
8 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" 8 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h"
9 #include "components/omnibox/autocomplete_provider_client.h" 9 #include "components/omnibox/autocomplete_provider_client.h"
10 10
11 class Profile; 11 class Profile;
12 12
13 class ChromeAutocompleteProviderClient : public AutocompleteProviderClient { 13 class ChromeAutocompleteProviderClient : public AutocompleteProviderClient {
14 public: 14 public:
15 explicit ChromeAutocompleteProviderClient(Profile* profile); 15 explicit ChromeAutocompleteProviderClient(Profile* profile);
16 virtual ~ChromeAutocompleteProviderClient(); 16 virtual ~ChromeAutocompleteProviderClient();
17 17
18 // AutocompleteProviderClient: 18 // AutocompleteProviderClient:
19 virtual net::URLRequestContextGetter* RequestContext() OVERRIDE; 19 virtual net::URLRequestContextGetter* RequestContext() override;
20 virtual bool IsOffTheRecord() OVERRIDE; 20 virtual bool IsOffTheRecord() override;
21 virtual std::string AcceptLanguages() OVERRIDE; 21 virtual std::string AcceptLanguages() override;
22 virtual bool SearchSuggestEnabled() OVERRIDE; 22 virtual bool SearchSuggestEnabled() override;
23 virtual bool ShowBookmarkBar() OVERRIDE; 23 virtual bool ShowBookmarkBar() override;
24 virtual const AutocompleteSchemeClassifier& SchemeClassifier() OVERRIDE; 24 virtual const AutocompleteSchemeClassifier& SchemeClassifier() override;
25 virtual void Classify( 25 virtual void Classify(
26 const base::string16& text, 26 const base::string16& text,
27 bool prefer_keyword, 27 bool prefer_keyword,
28 bool allow_exact_keyword_match, 28 bool allow_exact_keyword_match,
29 metrics::OmniboxEventProto::PageClassification page_classification, 29 metrics::OmniboxEventProto::PageClassification page_classification,
30 AutocompleteMatch* match, 30 AutocompleteMatch* match,
31 GURL* alternate_nav_url) OVERRIDE; 31 GURL* alternate_nav_url) override;
32 virtual history::URLDatabase* InMemoryDatabase() OVERRIDE; 32 virtual history::URLDatabase* InMemoryDatabase() override;
33 virtual void DeleteMatchingURLsForKeywordFromHistory( 33 virtual void DeleteMatchingURLsForKeywordFromHistory(
34 history::KeywordID keyword_id, 34 history::KeywordID keyword_id,
35 const base::string16& term) OVERRIDE; 35 const base::string16& term) override;
36 virtual bool TabSyncEnabledAndUnencrypted() OVERRIDE; 36 virtual bool TabSyncEnabledAndUnencrypted() override;
37 virtual void PrefetchImage(const GURL& url) OVERRIDE; 37 virtual void PrefetchImage(const GURL& url) override;
38 38
39 private: 39 private:
40 Profile* profile_; 40 Profile* profile_;
41 ChromeAutocompleteSchemeClassifier scheme_classifier_; 41 ChromeAutocompleteSchemeClassifier scheme_classifier_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteProviderClient); 43 DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteProviderClient);
44 }; 44 };
45 45
46 #endif // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ 46 #endif // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698