Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Side by Side Diff: ios/public/test/fake_search_provider.h

Issue 1260033003: Partially componentize //chrome/browser/search/search.{h,cc} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on iOS Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « ios/public/provider/chrome/browser/search_provider.h ('k') | ios/public/test/fake_search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698