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

Unified Diff: chrome/renderer/external_extension.cc

Issue 5518004: Merge 68092 - Expose IsDefaultSearchProvider and SetDefaultSearchProvider by ... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/597/src/
Patch Set: Created 10 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/external_extension.cc
===================================================================
--- chrome/renderer/external_extension.cc (revision 68244)
+++ chrome/renderer/external_extension.cc (working copy)
@@ -46,8 +46,12 @@
// with an extra parameter to indicate if the provider should be the default"
// be available?
static bool EnableSearchProviderV2() {
+#if defined(OS_WIN)
+ return true;
+#else
return CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableSearchProviderApiV2);
+#endif
}
class ExternalExtensionWrapper : public v8::Extension {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698