Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / browser / search / most_visited_iframe_source_unittest.cc
blob232b936633438f873feca311ce275a3bf76522ed
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.
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"
12 class MostVisitedIframeSourceTest : public testing::Test {
13 public:
14 void ExpectNullData(base::RefCountedMemory* data) {
15 EXPECT_EQ(NULL, data);
18 protected:
19 MostVisitedIframeSource* source() { return source_.get(); }
21 private:
22 virtual void SetUp() { source_.reset(new MostVisitedIframeSource()); }
24 scoped_ptr<MostVisitedIframeSource> source_;