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

Side by Side Diff: components/history/core/browser/history_match.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_HISTORY_CORE_BROWSER_HISTORY_MATCH_H_ 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_MATCH_H_
6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_MATCH_H_ 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_MATCH_H_
7 7
8 #include <stddef.h>
9
8 #include <deque> 10 #include <deque>
9 11
10 #include "components/history/core/browser/url_row.h" 12 #include "components/history/core/browser/url_row.h"
11 13
12 namespace history { 14 namespace history {
13 15
14 // Used for intermediate history result operations. 16 // Used for intermediate history result operations.
15 struct HistoryMatch { 17 struct HistoryMatch {
16 // Required for STL, we don't use this directly. 18 // Required for STL, we don't use this directly.
17 HistoryMatch(); 19 HistoryMatch();
(...skipping 30 matching lines...) Expand all
48 // better than a non-innermost match ("www.google.com"). If the user types 50 // better than a non-innermost match ("www.google.com"). If the user types
49 // "x", no scheme in our prefix list (or "www.") begins with x, so all 51 // "x", no scheme in our prefix list (or "www.") begins with x, so all
50 // matches are, vacuously, "innermost matches". 52 // matches are, vacuously, "innermost matches".
51 bool innermost_match; 53 bool innermost_match;
52 }; 54 };
53 typedef std::deque<HistoryMatch> HistoryMatches; 55 typedef std::deque<HistoryMatch> HistoryMatches;
54 56
55 } // namespace history 57 } // namespace history
56 58
57 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_MATCH_H_ 59 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_MATCH_H_
OLDNEW
« no previous file with comments | « components/history/core/browser/history_database.cc ('k') | components/history/core/browser/history_model_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698