blob: 87d0e24c59a866e4cc3bab6ca57d43df2b458fa7 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/omnibox/browser/mock_autocomplete_provider_client.h"
#include <memory>
MockAutocompleteProviderClient::MockAutocompleteProviderClient() {
shared_factory_ =
base::MakeRefCounted<network::WeakWrapperSharedURLLoaderFactory>(
&test_url_loader_factory_);
contextual_suggestions_service_ =
std::make_unique<ContextualSuggestionsService>(
/*identity_manager=*/nullptr, GetURLLoaderFactory());
}
MockAutocompleteProviderClient::~MockAutocompleteProviderClient() {
}