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

Unified Diff: chrome/browser/history/query_parser.cc

Issue 274040: More style nits. (Closed)
Patch Set: Created 11 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
Index: chrome/browser/history/query_parser.cc
diff --git a/chrome/browser/history/query_parser.cc b/chrome/browser/history/query_parser.cc
index f17dad6bc70cb3f3a816d6a2c71962909100c8ff..6bfaa7fcb6780bb4e5efa53d03df9776d2c1e9df 100644
--- a/chrome/browser/history/query_parser.cc
+++ b/chrome/browser/history/query_parser.cc
@@ -66,7 +66,8 @@ void CoalseAndSortMatchPositions(Snippet::MatchPositions* matches) {
// A QueryNodeWord is a single word in the query.
class QueryNodeWord : public QueryNode {
public:
- QueryNodeWord(const std::wstring& word) : word_(word), literal_(false) {}
+ explicit QueryNodeWord(const std::wstring& word)
+ : word_(word), literal_(false) {}
virtual ~QueryNodeWord() {}
virtual int AppendToSQLiteQuery(std::wstring* query) const;
virtual bool IsWord() const { return true; }

Powered by Google App Engine
This is Rietveld 408576698