OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |