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

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

Issue 1728033002: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/in_memory_url_index_types.h
diff --git a/components/omnibox/browser/in_memory_url_index_types.h b/components/omnibox/browser/in_memory_url_index_types.h
index 218760a0e9e77b028879115c4e3e977ffbcc9be7..7525aae0cd7483dc453e9c46601e2a6943b4550f 100644
--- a/components/omnibox/browser/in_memory_url_index_types.h
+++ b/components/omnibox/browser/in_memory_url_index_types.h
@@ -150,6 +150,7 @@ typedef std::map<HistoryID, WordIDSet> HistoryIDWordMap;
typedef std::vector<history::VisitInfo> VisitInfoVector;
struct HistoryInfoMapValue {
HistoryInfoMapValue();
+ HistoryInfoMapValue(const HistoryInfoMapValue& other);
~HistoryInfoMapValue();
// This field is always populated.
@@ -168,6 +169,7 @@ typedef base::hash_map<HistoryID, HistoryInfoMapValue> HistoryInfoMap;
// A map from history_id to URL and page title word start metrics.
struct RowWordStarts {
RowWordStarts();
+ RowWordStarts(const RowWordStarts& other);
~RowWordStarts();
// Clears both url_word_starts_ and title_word_starts_.

Powered by Google App Engine
This is Rietveld 408576698