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 71adb8355ef636cdc07f1de89521c80a5813a689..e761ea2d9d2b5d81e169b83ab1041708d2540997 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -61,6 +61,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" |
@@ -1455,6 +1456,10 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( |
if (instant_service && |
instant_service->IsInstantProcess(process->GetID())) |
command_line->AppendSwitch(switches::kInstantProcess); |
+ |
+ if (ContextualSearchApiController::GetInstance() |
+ ->IsContextualSearchProcess(process->GetID())) |
+ command_line->AppendSwitch(switches::kContextualSearchProcess); |
} |
if (IsAutoReloadEnabled()) |