blundell | b11c2787e | 2015-06-22 10:05:10 | [diff] [blame] | 1 | // Copyright 2015 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 | |
blundell | 2102f7c | 2015-07-09 10:00:53 | [diff] [blame] | 5 | #include "components/omnibox/browser/mock_autocomplete_provider_client.h" |
blundell | b11c2787e | 2015-06-22 10:05:10 | [diff] [blame] | 6 | |
Daniel Kenji Toyama | f1e4b57 | 2017-08-03 16:31:11 | [diff] [blame] | 7 | #include "base/memory/ptr_util.h" |
| 8 | |
blundell | b11c2787e | 2015-06-22 10:05:10 | [diff] [blame] | 9 | MockAutocompleteProviderClient::MockAutocompleteProviderClient() { |
Daniel Kenji Toyama | f1e4b57 | 2017-08-03 16:31:11 | [diff] [blame] | 10 | contextual_suggestions_service_ = |
| 11 | base::MakeUnique<ContextualSuggestionsService>( |
| 12 | /*signin_manager=*/nullptr, /*token_service=*/nullptr, |
| 13 | GetRequestContext()); |
blundell | b11c2787e | 2015-06-22 10:05:10 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | MockAutocompleteProviderClient::~MockAutocompleteProviderClient() { |
| 17 | } |