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

Unified Diff: components/printing/test/print_web_view_helper_browsertest.cc

Issue 2962983002: Print Preview: change getPreview to cr.sendWithPromise (Closed)
Patch Set: Fix check Created 3 years, 6 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
« no previous file with comments | « components/printing/renderer/print_web_view_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/printing/test/print_web_view_helper_browsertest.cc
diff --git a/components/printing/test/print_web_view_helper_browsertest.cc b/components/printing/test/print_web_view_helper_browsertest.cc
index 8f4e244aad64033088440ae465cb1d3781fcc4c0..eeed7b93e8694b639b8046bfb4fed24fdec1d29d 100644
--- a/components/printing/test/print_web_view_helper_browsertest.cc
+++ b/components/printing/test/print_web_view_helper_browsertest.cc
@@ -129,7 +129,8 @@ class DidPreviewPageListener : public IPC::Listener {
bool OnMessageReceived(const IPC::Message& message) override {
if (message.type() == PrintHostMsg_MetafileReadyForPrinting::ID ||
message.type() == PrintHostMsg_PrintPreviewFailed::ID ||
- message.type() == PrintHostMsg_PrintPreviewCancelled::ID)
+ message.type() == PrintHostMsg_PrintPreviewCancelled::ID ||
+ message.type() == PrintHostMsg_PrintPreviewInvalidPrinterSettings::ID)
run_loop_->Quit();
return false;
}
« no previous file with comments | « components/printing/renderer/print_web_view_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698