| OLD | NEW |
| (Empty) |
| 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 | |
| 5 #ifndef IOS_PUBLIC_TEST_FAKE_SEARCH_PROVIDER_H_ | |
| 6 #define IOS_PUBLIC_TEST_FAKE_SEARCH_PROVIDER_H_ | |
| 7 | |
| 8 #include "ios/public/provider/chrome/browser/search_provider.h" | |
| 9 | |
| 10 namespace ios { | |
| 11 | |
| 12 class FakeSearchProvider : public ios::SearchProvider { | |
| 13 public: | |
| 14 FakeSearchProvider(); | |
| 15 ~FakeSearchProvider() override; | |
| 16 | |
| 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 | |
| 24 DISALLOW_COPY_AND_ASSIGN(FakeSearchProvider); | |
| 25 }; | |
| 26 | |
| 27 } // namespace ios | |
| 28 | |
| 29 #endif // IOS_PUBLIC_TEST_FAKE_SEARCH_PROVIDER_H_ | |
| OLD | NEW |