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

Side by Side Diff: components/history/core/browser/visit_tracker.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_VISIT_TRACKER_H__ 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_VISIT_TRACKER_H__
6 #define COMPONENTS_HISTORY_CORE_BROWSER_VISIT_TRACKER_H__ 6 #define COMPONENTS_HISTORY_CORE_BROWSER_VISIT_TRACKER_H__
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/macros.h"
12 #include "components/history/core/browser/history_types.h" 12 #include "components/history/core/browser/history_types.h"
13 13
14 namespace history { 14 namespace history {
15 15
16 // Tracks history transitions between pages. The history backend uses this to 16 // Tracks history transitions between pages. The history backend uses this to
17 // link up page transitions to form a chain of page visits, and to set the 17 // link up page transitions to form a chain of page visits, and to set the
18 // transition type properly. 18 // transition type properly.
19 // 19 //
20 // This class is not thread safe. 20 // This class is not thread safe.
21 class VisitTracker { 21 class VisitTracker {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 // Maps render view hosts to lists of recent transitions. 60 // Maps render view hosts to lists of recent transitions.
61 ContextList contexts_; 61 ContextList contexts_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(VisitTracker); 63 DISALLOW_COPY_AND_ASSIGN(VisitTracker);
64 }; 64 };
65 65
66 } // namespace history 66 } // namespace history
67 67
68 #endif // COMPONENTS_HISTORY_CORE_BROWSER_VISIT_TRACKER_H__ 68 #endif // COMPONENTS_HISTORY_CORE_BROWSER_VISIT_TRACKER_H__
OLDNEW
« no previous file with comments | « components/history/core/browser/visit_filter_unittest.cc ('k') | components/history/core/browser/visit_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698