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

Side by Side Diff: components/ntp_tiles/most_visited_sites_unittest.cc

Issue 1983063002: Move classes to //components/ntp_tiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 4 years, 6 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chrome/browser/android/ntp/most_visited_sites.h" 5 #include "components/ntp_tiles/most_visited_sites.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 std::vector<TitleURL> expected_sites{ 130 std::vector<TitleURL> expected_sites{
131 TitleURL("Site 3", "https://www.site3.com/"), 131 TitleURL("Site 3", "https://www.site3.com/"),
132 TitleURL("Site 4", "https://www.site4.com/"), 132 TitleURL("Site 4", "https://www.site4.com/"),
133 TitleURL("Site 1", "https://www.site1.com/"), 133 TitleURL("Site 1", "https://www.site1.com/"),
134 TitleURL("Site 2", "https://www.site2.com/"), 134 TitleURL("Site 2", "https://www.site2.com/"),
135 }; 135 };
136 std::vector<bool> expected_sites_source{true, true, false, false}; 136 std::vector<bool> expected_sites_source{true, true, false, false};
137 Check(popular_sites, std::vector<TitleURL>(), personal_sites, 137 Check(popular_sites, std::vector<TitleURL>(), personal_sites,
138 expected_sites_source, expected_sites); 138 expected_sites_source, expected_sites);
139 } 139 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698