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

Side by Side Diff: components/history/core/browser/top_sites_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <map> 7 #include <map>
6 8
7 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
8 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
9 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
10 #include "components/history/core/browser/history_types.h" 12 #include "components/history/core/browser/history_types.h"
11 #include "components/history/core/browser/top_sites_database.h" 13 #include "components/history/core/browser/top_sites_database.h"
12 #include "components/history/core/test/database_test_utils.h" 14 #include "components/history/core/test/database_test_utils.h"
13 #include "components/history/core/test/thumbnail-inl.h" 15 #include "components/history/core/test/thumbnail-inl.h"
14 #include "sql/connection.h" 16 #include "sql/connection.h"
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 db.RemoveURL(url2); 460 db.RemoveURL(url2);
459 461
460 db.GetPageThumbnails(&urls, &thumbnails); 462 db.GetPageThumbnails(&urls, &thumbnails);
461 ASSERT_EQ(4u, urls.size()); 463 ASSERT_EQ(4u, urls.size());
462 ASSERT_EQ(4u, thumbnails.size()); 464 ASSERT_EQ(4u, thumbnails.size());
463 EXPECT_EQ(mapsUrl, urls[0].url); 465 EXPECT_EQ(mapsUrl, urls[0].url);
464 EXPECT_EQ(kUrl0, urls[1].url); 466 EXPECT_EQ(kUrl0, urls[1].url);
465 } 467 }
466 468
467 } // namespace history 469 } // namespace history
OLDNEW
« no previous file with comments | « components/history/core/browser/top_sites_database.cc ('k') | components/history/core/browser/top_sites_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698