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

Side by Side Diff: athena/main/url_search_provider.h

Issue 623103002: replace OVERRIDE and FINAL with override and final in athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
« no previous file with comments | « athena/main/athena_views_delegate.cc ('k') | athena/main/url_search_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ATHENA_MAIN_URL_SEARCH_PROVIDER_H_ 5 #ifndef ATHENA_MAIN_URL_SEARCH_PROVIDER_H_
6 #define ATHENA_MAIN_URL_SEARCH_PROVIDER_H_ 6 #define ATHENA_MAIN_URL_SEARCH_PROVIDER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "components/omnibox/autocomplete_input.h" 10 #include "components/omnibox/autocomplete_input.h"
(...skipping 10 matching lines...) Expand all
21 namespace athena { 21 namespace athena {
22 22
23 // A sample search provider. 23 // A sample search provider.
24 class UrlSearchProvider : public app_list::SearchProvider, 24 class UrlSearchProvider : public app_list::SearchProvider,
25 public AutocompleteProviderListener { 25 public AutocompleteProviderListener {
26 public: 26 public:
27 UrlSearchProvider(content::BrowserContext* browser_context); 27 UrlSearchProvider(content::BrowserContext* browser_context);
28 virtual ~UrlSearchProvider(); 28 virtual ~UrlSearchProvider();
29 29
30 // Overridden from app_list::SearchProvider 30 // Overridden from app_list::SearchProvider
31 virtual void Start(const base::string16& query) OVERRIDE; 31 virtual void Start(const base::string16& query) override;
32 virtual void Stop() OVERRIDE; 32 virtual void Stop() override;
33 33
34 // Overridden from AutocompleteProviderListener 34 // Overridden from AutocompleteProviderListener
35 virtual void OnProviderUpdate(bool updated_matches) OVERRIDE; 35 virtual void OnProviderUpdate(bool updated_matches) override;
36 36
37 private: 37 private:
38 content::BrowserContext* browser_context_; 38 content::BrowserContext* browser_context_;
39 39
40 // TODO(mukai): This should be provided through BrowserContextKeyedService. 40 // TODO(mukai): This should be provided through BrowserContextKeyedService.
41 scoped_ptr<TemplateURLService> template_url_service_; 41 scoped_ptr<TemplateURLService> template_url_service_;
42 42
43 AutocompleteInput input_; 43 AutocompleteInput input_;
44 scoped_refptr<AutocompleteProvider> provider_; 44 scoped_refptr<AutocompleteProvider> provider_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(UrlSearchProvider); 46 DISALLOW_COPY_AND_ASSIGN(UrlSearchProvider);
47 }; 47 };
48 48
49 } // namespace athena 49 } // namespace athena
50 50
51 #endif // ATHENA_MAIN_URL_SEARCH_PROVIDER_H_ 51 #endif // ATHENA_MAIN_URL_SEARCH_PROVIDER_H_
OLDNEW
« no previous file with comments | « athena/main/athena_views_delegate.cc ('k') | athena/main/url_search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698