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.
5 #ifndef IOS_PUBLIC_TEST_FAKE_SEARCH_PROVIDER_H_
6 #define IOS_PUBLIC_TEST_FAKE_SEARCH_PROVIDER_H_
8 #include "ios/public/provider/chrome/browser/search_provider.h"
12 class FakeSearchProvider
: public ios::SearchProvider
{
15 ~FakeSearchProvider() override
;
18 // ios::SearchProvider implementation.
19 bool IsQueryExtractionEnabled() override
;
20 std::string
InstantExtendedEnabledParam(bool for_search
) override
;
21 std::string
ForceInstantResultsParam(bool for_prerender
) override
;
22 int OmniboxStartMargin() override
;
23 std::string
GoogleImageSearchSource() override
;
25 DISALLOW_COPY_AND_ASSIGN(FakeSearchProvider
);
30 #endif // IOS_PUBLIC_TEST_FAKE_SEARCH_PROVIDER_H_