Index: chrome/browser/dom_ui/ntp_resource_cache.cc |
diff --git a/chrome/browser/dom_ui/ntp_resource_cache.cc b/chrome/browser/dom_ui/ntp_resource_cache.cc |
index 903f93567271ceddaf7a64b3ef82c83189288585..44741de5f139de80d4b1207fbbda8bc6d400b1a7 100644 |
--- a/chrome/browser/dom_ui/ntp_resource_cache.cc |
+++ b/chrome/browser/dom_ui/ntp_resource_cache.cc |
@@ -11,7 +11,6 @@ |
#include "app/l10n_util.h" |
#include "app/resource_bundle.h" |
#include "app/theme_provider.h" |
-#include "base/command_line.h" |
#include "base/file_util.h" |
#include "base/ref_counted_memory.h" |
#include "base/string16.h" |
@@ -304,10 +303,6 @@ void NTPResourceCache::CreateNewTabHTML() { |
localized_strings.SetString("appspromotext2", |
l10n_util::GetStringUTF16(IDS_APPS_PROMO_TEXT_2)); |
- localized_strings.SetString("appspromovisible", |
- CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kForceAppsPromoVisible) ? "true" : "false"); |
- |
// Don't initiate the sync related message passing with the page if the sync |
// code is not present. |
if (profile_->GetProfileSyncService()) |