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 #ifndef COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_TYPES_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_TYPES_H_ |
6 #define COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_TYPES_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_TYPES_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <set> | 11 #include <set> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/containers/hash_tables.h" | 14 #include "base/containers/hash_tables.h" |
13 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
14 #include "components/history/core/browser/history_types.h" | 16 #include "components/history/core/browser/history_types.h" |
15 #include "url/gurl.h" | 17 #include "url/gurl.h" |
16 | 18 |
17 // Matches within URL and Title Strings ---------------------------------------- | 19 // Matches within URL and Title Strings ---------------------------------------- |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 172 |
171 // Clears both url_word_starts_ and title_word_starts_. | 173 // Clears both url_word_starts_ and title_word_starts_. |
172 void Clear(); | 174 void Clear(); |
173 | 175 |
174 WordStarts url_word_starts_; | 176 WordStarts url_word_starts_; |
175 WordStarts title_word_starts_; | 177 WordStarts title_word_starts_; |
176 }; | 178 }; |
177 typedef std::map<HistoryID, RowWordStarts> WordStartsMap; | 179 typedef std::map<HistoryID, RowWordStarts> WordStartsMap; |
178 | 180 |
179 #endif // COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_TYPES_H_ | 181 #endif // COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_TYPES_H_ |
OLD | NEW |