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..d1c89fbfe2b62f7a9b00d560b264d88771c85881 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_service.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 (ContextualSearchService::GetInstance()->IsContextualSearchProcess( |
+ process->GetID())) |
+ command_line->AppendSwitch(switches::kContextualSearchProcess); |
} |
if (IsAutoReloadEnabled()) |