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

Unified Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 2475813002: Enable Native CUPS printing on Chrome OS. (Closed)
Patch Set: fix histogram entry Created 3 years, 9 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/ui/webui/settings/md_settings_localized_strings_provider.cc
diff --git a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
index 55edb77fb3d6591937b48a18c3e5f8d2fd4d1391..6f81b3d3ca476f22c0cc32814e6f24918fbf6cfb 100644
--- a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
@@ -1451,8 +1451,8 @@ void AddPrintingStrings(content::WebUIDataSource* html_source) {
#if defined(OS_CHROMEOS)
html_source->AddBoolean("showCupsPrintingFeatures",
- base::CommandLine::ForCurrentProcess()->HasSwitch(
- ::switches::kEnableNativeCups));
+ !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ ::switches::kDisableNativeCups));
#endif
}

Powered by Google App Engine
This is Rietveld 408576698