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

Unified Diff: components/query_parser/query_parser.cc

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/proximity_auth/connection_unittest.cc ('k') | components/rappor/byte_vector_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/query_parser/query_parser.cc
diff --git a/components/query_parser/query_parser.cc b/components/query_parser/query_parser.cc
index d09edff867a17aa37b34ff2877a7ab51119bfd67..10703f042d5c46facc91497a1d21675f07d5dab7 100644
--- a/components/query_parser/query_parser.cc
+++ b/components/query_parser/query_parser.cc
@@ -74,15 +74,15 @@ class QueryNodeWord : public QueryNode {
void set_literal(bool literal) { literal_ = literal; }
// QueryNode:
- virtual int AppendToSQLiteQuery(base::string16* query) const OVERRIDE;
- virtual bool IsWord() const OVERRIDE;
- virtual bool Matches(const base::string16& word, bool exact) const OVERRIDE;
+ virtual int AppendToSQLiteQuery(base::string16* query) const override;
+ virtual bool IsWord() const override;
+ virtual bool Matches(const base::string16& word, bool exact) const override;
virtual bool HasMatchIn(
const QueryWordVector& words,
- Snippet::MatchPositions* match_positions) const OVERRIDE;
+ Snippet::MatchPositions* match_positions) const override;
virtual bool HasMatchIn(
- const QueryWordVector& words) const OVERRIDE;
- virtual void AppendWords(std::vector<base::string16>* words) const OVERRIDE;
+ const QueryWordVector& words) const override;
+ virtual void AppendWords(std::vector<base::string16>* words) const override;
private:
base::string16 word_;
@@ -158,14 +158,14 @@ class QueryNodeList : public QueryNode {
void RemoveEmptySubnodes();
// QueryNode:
- virtual int AppendToSQLiteQuery(base::string16* query) const OVERRIDE;
- virtual bool IsWord() const OVERRIDE;
- virtual bool Matches(const base::string16& word, bool exact) const OVERRIDE;
+ virtual int AppendToSQLiteQuery(base::string16* query) const override;
+ virtual bool IsWord() const override;
+ virtual bool Matches(const base::string16& word, bool exact) const override;
virtual bool HasMatchIn(
const QueryWordVector& words,
- Snippet::MatchPositions* match_positions) const OVERRIDE;
- virtual bool HasMatchIn(const QueryWordVector& words) const OVERRIDE;
- virtual void AppendWords(std::vector<base::string16>* words) const OVERRIDE;
+ Snippet::MatchPositions* match_positions) const override;
+ virtual bool HasMatchIn(const QueryWordVector& words) const override;
+ virtual void AppendWords(std::vector<base::string16>* words) const override;
protected:
int AppendChildrenToString(base::string16* query) const;
@@ -248,11 +248,11 @@ class QueryNodePhrase : public QueryNodeList {
virtual ~QueryNodePhrase();
// QueryNodeList:
- virtual int AppendToSQLiteQuery(base::string16* query) const OVERRIDE;
+ virtual int AppendToSQLiteQuery(base::string16* query) const override;
virtual bool HasMatchIn(
const QueryWordVector& words,
- Snippet::MatchPositions* match_positions) const OVERRIDE;
- virtual bool HasMatchIn(const QueryWordVector& words) const OVERRIDE;
+ Snippet::MatchPositions* match_positions) const override;
+ virtual bool HasMatchIn(const QueryWordVector& words) const override;
private:
bool MatchesAll(const QueryWordVector& words,
« no previous file with comments | « components/proximity_auth/connection_unittest.cc ('k') | components/rappor/byte_vector_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698