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

Side by Side Diff: components/omnibox/browser/in_memory_url_index_types.cc

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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/omnibox/browser/in_memory_url_index_types.h" 5 #include "components/omnibox/browser/in_memory_url_index_types.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 #include <iterator> 9 #include <iterator>
10 #include <numeric> 10 #include <numeric>
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 Char16Set characters; 149 Char16Set characters;
150 for (base::string16::const_iterator iter = term.begin(); iter != term.end(); 150 for (base::string16::const_iterator iter = term.begin(); iter != term.end();
151 ++iter) 151 ++iter)
152 characters.insert(*iter); 152 characters.insert(*iter);
153 return characters; 153 return characters;
154 } 154 }
155 155
156 // HistoryInfoMapValue --------------------------------------------------------- 156 // HistoryInfoMapValue ---------------------------------------------------------
157 157
158 HistoryInfoMapValue::HistoryInfoMapValue() {} 158 HistoryInfoMapValue::HistoryInfoMapValue() {}
159 HistoryInfoMapValue::HistoryInfoMapValue(const HistoryInfoMapValue& other) =
160 default;
159 HistoryInfoMapValue::~HistoryInfoMapValue() {} 161 HistoryInfoMapValue::~HistoryInfoMapValue() {}
160 162
161 // RowWordStarts --------------------------------------------------------------- 163 // RowWordStarts ---------------------------------------------------------------
162 164
163 RowWordStarts::RowWordStarts() {} 165 RowWordStarts::RowWordStarts() {}
166 RowWordStarts::RowWordStarts(const RowWordStarts& other) = default;
164 RowWordStarts::~RowWordStarts() {} 167 RowWordStarts::~RowWordStarts() {}
165 168
166 void RowWordStarts::Clear() { 169 void RowWordStarts::Clear() {
167 url_word_starts_.clear(); 170 url_word_starts_.clear();
168 title_word_starts_.clear(); 171 title_word_starts_.clear();
169 } 172 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698