Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 62fa372215ae9470f7480e6e8e28188cdf94091d..0725c6e4875788729767c438c76f9c8d4eabc2ce 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -62,6 +62,7 @@ |
#include "chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.h" |
#include "chrome/browser/safe_browsing/safe_browsing_service.h" |
#include "chrome/browser/safe_browsing/ui_manager.h" |
+#include "chrome/browser/search/contextual_search_api_controller.h" |
#include "chrome/browser/search/instant_service.h" |
#include "chrome/browser/search/instant_service_factory.h" |
#include "chrome/browser/search/search.h" |
@@ -1471,6 +1472,10 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( |
if (instant_service && |
instant_service->IsInstantProcess(process->GetID())) |
command_line->AppendSwitch(switches::kInstantProcess); |
+ |
+ if (ContextualSearchApiController::GetInstance() |
+ ->IsContextualSearchProcessId(process->GetID())) |
+ command_line->AppendSwitch(switches::kContextualSearchProcess); |
} |
if (IsAutoReloadEnabled()) |