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

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

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 #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
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_
OLDNEW
« no previous file with comments | « components/omnibox/browser/in_memory_url_index.h ('k') | components/omnibox/browser/in_memory_url_index_types_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698