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

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

Issue 1260033003: Partially componentize //chrome/browser/search/search.{h,cc} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ios/public/test/fake_search_provider.h" 5 #include "ios/public/test/fake_search_provider.h"
6 6
7 namespace ios { 7 namespace ios {
8 8
9 FakeSearchProvider::FakeSearchProvider() { 9 FakeSearchProvider::FakeSearchProvider() {
10 } 10 }
11 11
12 FakeSearchProvider::~FakeSearchProvider() { 12 FakeSearchProvider::~FakeSearchProvider() {
13 } 13 }
14 14
15 bool FakeSearchProvider::IsQueryExtractionEnabled() {
16 return false;
17 }
18
19 std::string FakeSearchProvider::InstantExtendedEnabledParam(bool for_search) {
20 return std::string();
21 }
22
23 std::string FakeSearchProvider::ForceInstantResultsParam(bool for_prerender) {
24 return std::string();
25 }
26
27 int FakeSearchProvider::OmniboxStartMargin() {
28 return 0;
29 }
30
31 std::string FakeSearchProvider::GoogleImageSearchSource() { 15 std::string FakeSearchProvider::GoogleImageSearchSource() {
32 return std::string(); 16 return std::string();
33 } 17 }
34 18
35 } // namespace ios 19 } // namespace ios
OLDNEW
« components/search/search.cc ('K') | « ios/public/test/fake_search_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698