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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 2475813002: Enable Native CUPS printing on Chrome OS. (Closed)
Patch Set: inverted conditional 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/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index 6e6303491af34a516c26a11b028c554bc26b5160..64dc66f98b1eeb8e24acb7a6392c0b536f7b12c7 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -754,9 +754,9 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) {
#endif
#if defined(OS_CHROMEOS)
- values->SetBoolean("cupsPrintEnabled",
+ values->SetBoolean("cupsPrintDisabled",
base::CommandLine::ForCurrentProcess()->HasSwitch(
- ::switches::kEnableNativeCups));
+ ::switches::kDisableNativeCups));
values->SetString("cupsPrintLearnMoreURL",
chrome::kChromeUIMdCupsSettingsURL);
#endif // defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698