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 e08450bdb74001dc757a649df102598529207dfa..9024b74ce9d6ffdd154823701fdaef28db801907 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// 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. |
@@ -1130,8 +1130,11 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( |
InstantService* instant_service = |
InstantServiceFactory::GetForProfile(profile); |
if (instant_service && |
- instant_service->IsInstantProcess(process->GetID())) |
+ instant_service->IsInstantProcess(process->GetID())) { |
command_line->AppendSwitch(switches::kInstantProcess); |
+ if (chrome::search::IsInstantExtendedAPIEnabled()) |
+ command_line->AppendSwitch(switches::kEnableInstantExtendedAPI); |
+ } |
SigninManager* signin_manager = |
SigninManagerFactory::GetForProfile(profile); |