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

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: s/snippets/tiles/ Created 4 years, 7 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 bool expected_source_is_personal[] = {false, true, true, false}; 232 bool expected_source_is_personal[] = {false, true, true, false};
233 Check(std::vector<TitleURL>(popular, popular + arraysize(popular)), 233 Check(std::vector<TitleURL>(popular, popular + arraysize(popular)),
234 std::vector<TitleURL>(), 234 std::vector<TitleURL>(),
235 std::vector<TitleURL>(personal, personal + arraysize(personal)), 235 std::vector<TitleURL>(personal, personal + arraysize(personal)),
236 std::vector<std::string>(old, old + arraysize(old)), old_sites_source, 236 std::vector<std::string>(old, old + arraysize(old)), old_sites_source,
237 std::vector<bool>(expected_source_is_personal, 237 std::vector<bool>(expected_source_is_personal,
238 expected_source_is_personal + 238 expected_source_is_personal +
239 arraysize(expected_source_is_personal)), 239 arraysize(expected_source_is_personal)),
240 std::vector<TitleURL>(expected, expected + arraysize(expected))); 240 std::vector<TitleURL>(expected, expected + arraysize(expected)));
241 } 241 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698