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

Unified Diff: components/omnibox/browser/scored_history_match.h

Issue 2690303012: Cleaning up url_index_private_data and in_memory_url_index_types. (Closed)
Patch Set: Dropping noexcept from move operations. Created 3 years, 10 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: components/omnibox/browser/scored_history_match.h
diff --git a/components/omnibox/browser/scored_history_match.h b/components/omnibox/browser/scored_history_match.h
index 51d18835b9609e9a93d45e40cfa770ff6fec7b67..f9c432acba7659d552338b64889b3a1ec9d37bb0 100644
--- a/components/omnibox/browser/scored_history_match.h
+++ b/components/omnibox/browser/scored_history_match.h
@@ -37,6 +37,9 @@ struct ScoredHistoryMatch : public history::HistoryMatch {
// Required for STL, we don't use this directly.
ScoredHistoryMatch();
ScoredHistoryMatch(const ScoredHistoryMatch& other);
+ ScoredHistoryMatch(ScoredHistoryMatch&& other);
+ ScoredHistoryMatch& operator=(const ScoredHistoryMatch& other);
+ ScoredHistoryMatch& operator=(ScoredHistoryMatch&& other);
// Initializes the ScoredHistoryMatch with a raw score calculated for the
// history item given in |row| with recent visits as indicated in |visits|. It
« no previous file with comments | « components/omnibox/browser/in_memory_url_index_unittest.cc ('k') | components/omnibox/browser/scored_history_match.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698