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

Unified Diff: components/query_parser/snippet.h

Issue 2781263002: Some C++11 cleanup of history types. (Closed)
Patch Set: Fix Android Created 3 years, 9 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/history/core/browser/url_row.cc ('k') | components/query_parser/snippet.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/query_parser/snippet.h
diff --git a/components/query_parser/snippet.h b/components/query_parser/snippet.h
index ed6a887cb8f453cdb97ac586a60eaddc2ee6728e..11f05d6bcdccb32b39b2821a33ddf134aa3ead41 100644
--- a/components/query_parser/snippet.h
+++ b/components/query_parser/snippet.h
@@ -48,8 +48,11 @@ class Snippet {
Snippet();
Snippet(const Snippet& other);
+ Snippet(Snippet&& other) noexcept;
~Snippet();
+ Snippet& operator=(const Snippet&);
+
// Given |matches|, the match positions within |document|, compute the snippet
// for the document.
// Note that |document| is UTF-8 and the offsets in |matches| are byte
« no previous file with comments | « components/history/core/browser/url_row.cc ('k') | components/query_parser/snippet.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698