| Index: ios/chrome/browser/search_engines/search_engines_util.h
|
| diff --git a/ios/chrome/browser/search_engines/search_engines_util.h b/ios/chrome/browser/search_engines/search_engines_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..69e36c17dac590e6aeec0681d9a22f4077908daf
|
| --- /dev/null
|
| +++ b/ios/chrome/browser/search_engines/search_engines_util.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2012 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 IOS_CHROME_BROWSER_SEARCH_ENGINES_SEARCH_ENGINES_UTIL_H_
|
| +#define IOS_CHROME_BROWSER_SEARCH_ENGINES_SEARCH_ENGINES_UTIL_H_
|
| +
|
| +class PrefService;
|
| +class TemplateURLService;
|
| +
|
| +namespace search_engines {
|
| +
|
| +// Updates the current search engine, as well as the list of available search
|
| +// engines if the locale of the user changed.
|
| +// TODO(ios): Once user can customize search engines ( http://crbug.com/153047 )
|
| +// remove this method.
|
| +void UpdateSearchEnginesIfNeeded(PrefService* preferences,
|
| + TemplateURLService* service);
|
| +
|
| +} // namespace search_engines
|
| +
|
| +#endif // IOS_CHROME_BROWSER_SEARCH_ENGINES_SEARCH_ENGINES_UTIL_H_
|
|
|