OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_SEARCH_ENGINES_SEARCH_ENGINES_UTIL_H_ |
| 6 #define IOS_CHROME_BROWSER_SEARCH_ENGINES_SEARCH_ENGINES_UTIL_H_ |
| 7 |
| 8 class PrefService; |
| 9 class TemplateURLService; |
| 10 |
| 11 namespace search_engines { |
| 12 |
| 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); |
| 19 |
| 20 } // namespace search_engines |
| 21 |
| 22 #endif // IOS_CHROME_BROWSER_SEARCH_ENGINES_SEARCH_ENGINES_UTIL_H_ |
OLD | NEW |