#include "chrome/browser/search/most_visited_iframe_source.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/memory/ref_counted_memory.h"
#include "chrome/browser/search/instant_service.h"
#include "chrome/browser/search/instant_service_factory.h"
#include "chrome/grit/new_tab_page_instant_resources.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/mock_render_process_host.h"
#include "ipc/ipc_message.h"
#include "net/base/request_priority.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
const char kNonInstantOrigin[] = …;
const char kInstantOrigin[] = …;
class TestMostVisitedIframeSource : public MostVisitedIframeSource { … };
class MostVisitedIframeSourceTest : public testing::Test { … };
TEST_F(MostVisitedIframeSourceTest, ShouldServiceRequest) { … }
TEST_F(MostVisitedIframeSourceTest, GetMimeType) { … }
TEST_F(MostVisitedIframeSourceTest, SendResource) { … }
TEST_F(MostVisitedIframeSourceTest, SendJSWithOrigin) { … }