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

Side by Side Diff: components/precache/core/precache_url_table_unittest.cc

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, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/precache/core/precache_url_table.h" 5 #include "components/precache/core/precache_url_table.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
11 #include "base/time/time.h" 10 #include "base/time/time.h"
12 #include "sql/connection.h" 11 #include "sql/connection.h"
13 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
14 13
15 namespace precache { 14 namespace precache {
16 15
17 namespace { 16 namespace {
18 17
19 class PrecacheURLTableTest : public testing::Test { 18 class PrecacheURLTableTest : public testing::Test {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 expected_map[GURL("http://after.com")] = kAfterTime; 106 expected_map[GURL("http://after.com")] = kAfterTime;
108 107
109 std::map<GURL, base::Time> actual_map; 108 std::map<GURL, base::Time> actual_map;
110 precache_url_table_->GetAllDataForTesting(&actual_map); 109 precache_url_table_->GetAllDataForTesting(&actual_map);
111 EXPECT_EQ(expected_map, actual_map); 110 EXPECT_EQ(expected_map, actual_map);
112 } 111 }
113 112
114 } // namespace 113 } // namespace
115 114
116 } // namespace precache 115 } // namespace precache
OLDNEW
« no previous file with comments | « components/precache/core/precache_url_table.h ('k') | components/pref_registry/pref_registry_syncable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698