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

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

Issue 2475813002: Enable Native CUPS printing on Chrome OS. (Closed)
Patch Set: rebase Created 3 years, 8 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 8ee742db41053ecd5e03cbc3f37b8b318f5751e4..3fa0d8e401f8fb5ca6ca5e2ab40e78f6dfb728a6 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -753,9 +753,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)
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/ui/webui/options/options_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698