Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ios / chrome / browser / search_engines / search_engines_util.h
blob69e36c17dac590e6aeec0681d9a22f4077908daf
1 // Copyright 2012 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.
5 #ifndef IOS_CHROME_BROWSER_SEARCH_ENGINES_SEARCH_ENGINES_UTIL_H_
6 #define IOS_CHROME_BROWSER_SEARCH_ENGINES_SEARCH_ENGINES_UTIL_H_
8 class PrefService;
9 class TemplateURLService;
11 namespace search_engines {
13 // Updates the current search engine, as well as the list of available search
14 // engines if the locale of the user changed.
15 // TODO(ios): Once user can customize search engines ( http://crbug.com/153047 )
16 // remove this method.
17 void UpdateSearchEnginesIfNeeded(PrefService* preferences,
18 TemplateURLService* service);
20 } // namespace search_engines
22 #endif // IOS_CHROME_BROWSER_SEARCH_ENGINES_SEARCH_ENGINES_UTIL_H_