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

Side by Side Diff: chrome/browser/autocomplete/builtin_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_BUILTIN_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_BUILTIN_PROVIDER_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_BUILTIN_PROVIDER_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_BUILTIN_PROVIDER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "components/omnibox/autocomplete_match.h" 13 #include "components/omnibox/autocomplete_match.h"
14 #include "components/omnibox/autocomplete_provider.h" 14 #include "components/omnibox/autocomplete_provider.h"
15 15
16 // This is the provider for built-in URLs, such as about:settings and 16 // This is the provider for built-in URLs, such as about:settings and
17 // chrome://version. 17 // chrome://version.
18 class BuiltinProvider : public AutocompleteProvider { 18 class BuiltinProvider : public AutocompleteProvider {
19 public: 19 public:
20 BuiltinProvider(); 20 BuiltinProvider();
21 21
22 // AutocompleteProvider: 22 // AutocompleteProvider:
23 virtual void Start(const AutocompleteInput& input, 23 virtual void Start(const AutocompleteInput& input,
24 bool minimal_changes) OVERRIDE; 24 bool minimal_changes) override;
25 25
26 private: 26 private:
27 virtual ~BuiltinProvider(); 27 virtual ~BuiltinProvider();
28 28
29 typedef std::vector<base::string16> Builtins; 29 typedef std::vector<base::string16> Builtins;
30 30
31 static const int kRelevance; 31 static const int kRelevance;
32 32
33 void AddMatch(const base::string16& match_string, 33 void AddMatch(const base::string16& match_string,
34 const base::string16& inline_completion, 34 const base::string16& inline_completion,
35 const ACMatchClassifications& styles); 35 const ACMatchClassifications& styles);
36 36
37 Builtins builtins_; 37 Builtins builtins_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(BuiltinProvider); 39 DISALLOW_COPY_AND_ASSIGN(BuiltinProvider);
40 }; 40 };
41 41
42 #endif // CHROME_BROWSER_AUTOCOMPLETE_BUILTIN_PROVIDER_H_ 42 #endif // CHROME_BROWSER_AUTOCOMPLETE_BUILTIN_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/bookmark_provider_unittest.cc ('k') | chrome/browser/autocomplete/builtin_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698