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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_classifier.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_AUTOCOMPLETE_CLASSIFIER_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void Classify(const base::string16& text, 48 void Classify(const base::string16& text,
49 bool prefer_keyword, 49 bool prefer_keyword,
50 bool allow_exact_keyword_match, 50 bool allow_exact_keyword_match,
51 metrics::OmniboxEventProto::PageClassification 51 metrics::OmniboxEventProto::PageClassification
52 page_classification, 52 page_classification,
53 AutocompleteMatch* match, 53 AutocompleteMatch* match,
54 GURL* alternate_nav_url); 54 GURL* alternate_nav_url);
55 55
56 private: 56 private:
57 // KeyedService: 57 // KeyedService:
58 virtual void Shutdown() OVERRIDE; 58 virtual void Shutdown() override;
59 59
60 scoped_ptr<AutocompleteController> controller_; 60 scoped_ptr<AutocompleteController> controller_;
61 scoped_ptr<AutocompleteSchemeClassifier> scheme_classifier_; 61 scoped_ptr<AutocompleteSchemeClassifier> scheme_classifier_;
62 62
63 // Are we currently in Classify? Used to verify Classify isn't invoked 63 // Are we currently in Classify? Used to verify Classify isn't invoked
64 // recursively, since this can corrupt state and cause crashes. 64 // recursively, since this can corrupt state and cause crashes.
65 bool inside_classify_; 65 bool inside_classify_;
66 66
67 DISALLOW_IMPLICIT_CONSTRUCTORS(AutocompleteClassifier); 67 DISALLOW_IMPLICIT_CONSTRUCTORS(AutocompleteClassifier);
68 }; 68 };
69 69
70 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_ 70 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_
OLDNEW
« no previous file with comments | « chrome/browser/apps/window_controls_browsertest.cc ('k') | chrome/browser/autocomplete/autocomplete_classifier_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698