Fix emulator build error
[platform/framework/web/chromium-efl.git] / components / search / search.h
1 // Copyright 2014 The Chromium Authors
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 COMPONENTS_SEARCH_SEARCH_H_
6 #define COMPONENTS_SEARCH_SEARCH_H_
7
8 class TemplateURLService;
9 class TemplateURL;
10 class SearchTermsData;
11
12 namespace search {
13
14 // Returns whether the Instant Extended API is enabled. This is always true on
15 // desktop and false on mobile.
16 bool IsInstantExtendedAPIEnabled();
17
18 // Returns whether Google is selected as the default search engine.
19 bool DefaultSearchProviderIsGoogle(
20     const TemplateURLService* template_url_service);
21
22 // Returns whether supplied template URL is Google template URL.
23 bool TemplateURLIsGoogle(const TemplateURL* template_url,
24                          const SearchTermsData& search_terms_data);
25 }  // namespace search
26
27 #endif  // COMPONENTS_SEARCH_SEARCH_H_