Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: ios/chrome/browser/search_engines/search_engines_util.h

Issue 1149623002: [iOS] Upstream UpdateSearchEnginesIfNeeded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/DEPS ('k') | ios/chrome/browser/search_engines/search_engines_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ios/chrome/browser/DEPS ('k') | ios/chrome/browser/search_engines/search_engines_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698