Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / ios / public / test / fake_search_provider.h
blob04879510d46cd1608827e657e6a6d985fce9cbf8
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"
10 namespace ios {
12 class FakeSearchProvider : public ios::SearchProvider {
13 public:
14 FakeSearchProvider();
15 ~FakeSearchProvider() override;
17 private:
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);
28 } // namespace ios
30 #endif // IOS_PUBLIC_TEST_FAKE_SEARCH_PROVIDER_H_