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

Unified Diff: chrome/test/render_view_test.cc

Issue 6775013: PrintPreview: While printing the preview data, set the initiator tab title as print job name. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix a style error Created 9 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/test/render_view_test.cc
diff --git a/chrome/test/render_view_test.cc b/chrome/test/render_view_test.cc
index 1e150176053f1e2b0417f3a9e5956729d2605c97..8f75b114d69bff2393b9f09f5a7fe9f5b5743895 100644
--- a/chrome/test/render_view_test.cc
+++ b/chrome/test/render_view_test.cc
@@ -267,16 +267,16 @@ void RenderViewTest::SendNativeKeyEvent(
void RenderViewTest::VerifyPageCount(int count) {
#if defined(OS_CHROMEOS)
- // The DidGetPrintedPagesCount message isn't sent on ChromeOS. Right now we
+ // The DidGetBasicPrintJobInfo message isn't sent on ChromeOS. Right now we
// always print all pages, and there are checks to that effect built into
// the print code.
#else
const IPC::Message* page_cnt_msg =
render_thread_.sink().GetUniqueMessageMatching(
- PrintHostMsg_DidGetPrintedPagesCount::ID);
+ PrintHostMsg_DidGetBasicPrintJobInfo::ID);
ASSERT_TRUE(page_cnt_msg);
- PrintHostMsg_DidGetPrintedPagesCount::Param post_page_count_param;
- PrintHostMsg_DidGetPrintedPagesCount::Read(page_cnt_msg,
+ PrintHostMsg_DidGetBasicPrintJobInfo::Param post_page_count_param;
+ PrintHostMsg_DidGetBasicPrintJobInfo::Read(page_cnt_msg,
&post_page_count_param);
EXPECT_EQ(count, post_page_count_param.b);
#endif // defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698