summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/mock_printer.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 04:06:40 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 04:06:40 +0000
commitb3ee0b52394b74dffc5bb746b0906d42a7b12076 (patch)
tree16e1fa68c358847463eaaf9d8cd723975061e9ce /chrome/renderer/mock_printer.cc
parent5ca55b5b77bac3d6b853cc240965d21e8084ec7c (diff)
downloadchromium_src-b3ee0b52394b74dffc5bb746b0906d42a7b12076.zip
chromium_src-b3ee0b52394b74dffc5bb746b0906d42a7b12076.tar.gz
chromium_src-b3ee0b52394b74dffc5bb746b0906d42a7b12076.tar.bz2
Printing: Notify the browser process of renderer print failures. (try 2)
Original code review: http://codereview.chromium.org/6883278 BUG=none TEST=included TBR=kmadhusu Review URL: http://codereview.chromium.org/6932061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84398 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/mock_printer.cc')
-rw-r--r--chrome/renderer/mock_printer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/renderer/mock_printer.cc b/chrome/renderer/mock_printer.cc
index 3117a87..a4d5e2d 100644
--- a/chrome/renderer/mock_printer.cc
+++ b/chrome/renderer/mock_printer.cc
@@ -99,6 +99,7 @@ void MockPrinter::UpdateSettings(int cookie,
memset(params, 0, sizeof(PrintMsg_PrintPages_Params));
SetPrintParams(&(params->params));
+ printer_status_ = PRINTER_PRINTING;
}
void MockPrinter::SetPrintedPagesCount(int cookie, int number_pages) {