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 17f74aac9e49d835f0c294d2855911565380e5ce..05002d57230fd3c03c44dd6d186d23842d07b642 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); |