blob: 56efe04334075c2460d6e2150891185cc25940b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SEARCH_SEARCH_H_
#define COMPONENTS_SEARCH_SEARCH_H_
class TemplateURLService;
namespace search {
// Returns whether the Instant Extended API is enabled. This is always true on
// desktop and false on mobile.
bool IsInstantExtendedAPIEnabled();
// Returns whether Google is selected as the default search engine.
bool DefaultSearchProviderIsGoogle(
const TemplateURLService* template_url_service);
} // namespace search
#endif // COMPONENTS_SEARCH_SEARCH_H_
|