Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(821)

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 488853002: Removed --disable-print-preview switch and policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tue Aug 19 16:35:18 PDT 2014 Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 61fd30900a99b4efb1a1fa67bb249eea2b2548a5..0fdd5c6953935656ef5e55f6e67489401819a0b7 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1277,8 +1277,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
switches::kDisableClientSidePhishingDetection);
}
- if (!prefs->GetBoolean(prefs::kPrintPreviewDisabled))
- command_line->AppendSwitch(switches::kRendererPrintPreview);
+ command_line->AppendSwitch(switches::kRendererPrintPreview);
Lei Zhang 2014/08/20 00:01:15 You should get rid of switches::kRendererPrintPrev
Vitaly Buka (NO REVIEWS) 2014/08/20 01:16:14 Done.
InstantService* instant_service =
InstantServiceFactory::GetForProfile(profile);

Powered by Google App Engine
This is Rietveld 408576698