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

Unified Diff: printing/printing_context_chromeos.cc

Issue 2376193006: Disable Ctrl+Shift+P on Chrome OS (Closed)
Patch Set: Created 4 years, 3 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: printing/printing_context_chromeos.cc
diff --git a/printing/printing_context_chromeos.cc b/printing/printing_context_chromeos.cc
index 35f1587f30be727300aac8cd9a43eaf027c8fe3a..6e5ae2408713b9ce471900250e938a7559eed425 100644
--- a/printing/printing_context_chromeos.cc
+++ b/printing/printing_context_chromeos.cc
@@ -165,8 +165,8 @@ void PrintingContextChromeos::AskUserForSettings(
bool has_selection,
bool is_scripted,
const PrintSettingsCallback& callback) {
- // We don't want to bring up a dialog here. Ever. Just signal the callback.
- callback.Run(OK);
+ // We don't want to bring up a dialog here. Ever. This should not be called.
+ NOTREACHED();
}
PrintingContext::Result PrintingContextChromeos::UseDefaultSettings() {

Powered by Google App Engine
This is Rietveld 408576698