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

Side by Side Diff: components/history/core/browser/visit_tracker_unittest.cc

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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/history/core/browser/visit_tracker.h" 5 #include "components/history/core/browser/visit_tracker.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/macros.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace history { 10 namespace history {
11 namespace { 11 namespace {
12 12
13 struct VisitToTest { 13 struct VisitToTest {
14 // Identifies the context. 14 // Identifies the context.
15 int context_id_int; 15 int context_id_int;
16 int nav_entry_id; 16 int nav_entry_id;
17 17
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 // Simple navigation from a new process with the same ID, it should not find 122 // Simple navigation from a new process with the same ID, it should not find
123 // a referrer. 123 // a referrer.
124 VisitToTest part2[] = { 124 VisitToTest part2[] = {
125 {1, 1, "http://images.google.com/", 2, "http://www.google.com/", 0}, 125 {1, 1, "http://images.google.com/", 2, "http://www.google.com/", 0},
126 }; 126 };
127 RunTest(&tracker, part2, arraysize(part2)); 127 RunTest(&tracker, part2, arraysize(part2));
128 } 128 }
129 129
130 } // namespace history 130 } // namespace history
OLDNEW
« no previous file with comments | « components/history/core/browser/visit_tracker.cc ('k') | components/history/core/browser/visitsegment_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698