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

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: Updated the CL. 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 27798b09ddd27e56ba8f29eb04855bd3f6f03d28..cc5c6aa2001351a6684ac72bb48291548543bb30 100644
--- a/chrome/test/render_view_test.cc
+++ b/chrome/test/render_view_test.cc
@@ -272,16 +272,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