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

Side by Side Diff: components/history/core/browser/visit_database_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) 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 #include <stddef.h>
6
5 #include <set> 7 #include <set>
6 #include <vector> 8 #include <vector>
7 9
8 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
9 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
10 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
11 #include "base/time/time.h" 13 #include "base/time/time.h"
12 #include "components/history/core/browser/url_database.h" 14 #include "components/history/core/browser/url_database.h"
13 #include "components/history/core/browser/visit_database.h" 15 #include "components/history/core/browser/visit_database.h"
14 #include "sql/connection.h" 16 #include "sql/connection.h"
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 AddVisit(&forward_2, SOURCE_BROWSED); 587 AddVisit(&forward_2, SOURCE_BROWSED);
586 588
587 EXPECT_TRUE(GetHistoryCount(shift_forward, 589 EXPECT_TRUE(GetHistoryCount(shift_forward,
588 shift_forward + TimeDelta::FromHours(24), 590 shift_forward + TimeDelta::FromHours(24),
589 &result)); 591 &result));
590 EXPECT_EQ(2, result); 592 EXPECT_EQ(2, result);
591 } 593 }
592 } 594 }
593 595
594 } // namespace history 596 } // namespace history
OLDNEW
« no previous file with comments | « components/history/core/browser/visit_database.cc ('k') | components/history/core/browser/visit_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698