OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "base/bind.h" | |
6 #include "base/metrics/histogram.h" | |
7 #include "base/metrics/statistics_recorder.h" | |
8 #include "base/strings/stringprintf.h" | |
9 #include "chrome/browser/search/most_visited_iframe_source.h" | |
10 #include "testing/gtest/include/gtest/gtest.h" | |
11 | |
12 class MostVisitedIframeSourceTest : public testing::Test { | |
13 public: | |
14 void ExpectNullData(base::RefCountedMemory* data) { | |
15 EXPECT_EQ(NULL, data); | |
16 } | |
17 | |
18 protected: | |
19 MostVisitedIframeSource* source() { return source_.get(); } | |
20 | |
21 private: | |
22 void SetUp() override { source_.reset(new MostVisitedIframeSource()); } | |
23 | |
24 scoped_ptr<MostVisitedIframeSource> source_; | |
25 }; | |
OLD | NEW |