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

Side by Side Diff: components/history/core/browser/top_sites_impl_unittest.cc

Issue 1178683009: Change histogram.h includes to histogram_macros.h in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 (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 "components/history/core/browser/top_sites_impl.h" 5 #include "components/history/core/browser/top_sites_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/metrics/histogram_macros.h"
Ilya Sherman 2015/06/15 21:39:50 Where is this used?
Alexei Svitkine (slow) 2015/06/16 15:18:36 Apparently nowhere. Removed.
11 #include "base/prefs/pref_registry_simple.h" 12 #include "base/prefs/pref_registry_simple.h"
12 #include "base/prefs/testing_pref_service.h" 13 #include "base/prefs/testing_pref_service.h"
13 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
14 #include "base/task/cancelable_task_tracker.h" 15 #include "base/task/cancelable_task_tracker.h"
15 #include "components/history/core/browser/history_constants.h" 16 #include "components/history/core/browser/history_constants.h"
16 #include "components/history/core/browser/history_database_params.h" 17 #include "components/history/core/browser/history_database_params.h"
17 #include "components/history/core/browser/history_db_task.h" 18 #include "components/history/core/browser/history_db_task.h"
18 #include "components/history/core/browser/history_types.h" 19 #include "components/history/core/browser/history_types.h"
19 #include "components/history/core/browser/top_sites.h" 20 #include "components/history/core/browser/top_sites.h"
20 #include "components/history/core/browser/top_sites_cache.h" 21 #include "components/history/core/browser/top_sites_cache.h"
(...skipping 1630 matching lines...) Expand 10 before | Expand all | Expand 10 after
1651 EXPECT_EQ("http://forced/5", querier.urls()[5].url.spec()); 1652 EXPECT_EQ("http://forced/5", querier.urls()[5].url.spec());
1652 EXPECT_EQ(6000u, querier.urls()[5].last_forced_time.ToJsTime()); 1653 EXPECT_EQ(6000u, querier.urls()[5].last_forced_time.ToJsTime());
1653 scoped_refptr<base::RefCountedMemory> thumbnail_data; 1654 scoped_refptr<base::RefCountedMemory> thumbnail_data;
1654 ASSERT_TRUE(top_sites()->GetPageThumbnail(GURL("http://forced/5"), false, 1655 ASSERT_TRUE(top_sites()->GetPageThumbnail(GURL("http://forced/5"), false,
1655 &thumbnail_data)); 1656 &thumbnail_data));
1656 ASSERT_TRUE( 1657 ASSERT_TRUE(
1657 ThumbnailsAreEqual(orig_thumbnail_data.get(), thumbnail_data.get())); 1658 ThumbnailsAreEqual(orig_thumbnail_data.get(), thumbnail_data.get()));
1658 } 1659 }
1659 1660
1660 } // namespace history 1661 } // namespace history
OLDNEW
« no previous file with comments | « components/history/core/browser/top_sites_impl.cc ('k') | components/invalidation/gcm_network_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698