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

Issue 9703013: Printing: Catch more error conditions and remove more cruft. (Closed)

Created:
8 years, 9 months ago by Lei Zhang
Modified:
8 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Printing: Handle more error conditions and remove more cruft. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126860

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -39 lines) Patch
M chrome/browser/printing/print_view_manager.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/renderer/print_web_view_helper.h View 3 chunks +3 lines, -1 line 0 comments Download
M chrome/renderer/print_web_view_helper.cc View 1 5 chunks +41 lines, -32 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Lei Zhang
https://chromiumcodereview.appspot.com/9703013/diff/4001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc File chrome/browser/ui/webui/print_preview/print_preview_handler.cc (right): https://chromiumcodereview.appspot.com/9703013/diff/4001/chrome/browser/ui/webui/print_preview/print_preview_handler.cc#newcode126 chrome/browser/ui/webui/print_preview/print_preview_handler.cc:126: CHECK(args->GetString(0, &json_str)); Unless the user is messing with the ...
8 years, 9 months ago (2012-03-14 05:40:05 UTC) #1
Albert Bodenhamer
lgtm
8 years, 9 months ago (2012-03-14 16:42:19 UTC) #2
kmadhusu
https://chromiumcodereview.appspot.com/9703013/diff/3002/chrome/browser/ui/webui/print_preview/print_preview_handler.cc File chrome/browser/ui/webui/print_preview/print_preview_handler.cc (right): https://chromiumcodereview.appspot.com/9703013/diff/3002/chrome/browser/ui/webui/print_preview/print_preview_handler.cc#newcode127 chrome/browser/ui/webui/print_preview/print_preview_handler.cc:127: CHECK(!json_str.empty()); 'if' condition is better than CHECK because we ...
8 years, 9 months ago (2012-03-14 18:22:20 UTC) #3
Lei Zhang
https://chromiumcodereview.appspot.com/9703013/diff/3002/chrome/browser/ui/webui/print_preview/print_preview_handler.cc File chrome/browser/ui/webui/print_preview/print_preview_handler.cc (right): https://chromiumcodereview.appspot.com/9703013/diff/3002/chrome/browser/ui/webui/print_preview/print_preview_handler.cc#newcode127 chrome/browser/ui/webui/print_preview/print_preview_handler.cc:127: CHECK(!json_str.empty()); On 2012/03/14 18:22:20, kmadhusu wrote: > 'if' condition ...
8 years, 9 months ago (2012-03-14 20:09:11 UTC) #4
kmadhusu
https://chromiumcodereview.appspot.com/9703013/diff/3002/chrome/browser/ui/webui/print_preview/print_preview_handler.cc File chrome/browser/ui/webui/print_preview/print_preview_handler.cc (right): https://chromiumcodereview.appspot.com/9703013/diff/3002/chrome/browser/ui/webui/print_preview/print_preview_handler.cc#newcode127 chrome/browser/ui/webui/print_preview/print_preview_handler.cc:127: CHECK(!json_str.empty()); On 2012/03/14 20:09:11, Lei Zhang wrote: > On ...
8 years, 9 months ago (2012-03-14 20:28:33 UTC) #5
Lei Zhang
Since we're at an impasse over how to handle this, I've excluded print_preview_handler.cc from this ...
8 years, 9 months ago (2012-03-14 23:26:12 UTC) #6
kmadhusu
lgtm
8 years, 9 months ago (2012-03-14 23:29:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/9703013/2009
8 years, 9 months ago (2012-03-14 23:44:29 UTC) #8
commit-bot: I haz the power
Try job failure for 9703013-2009 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-15 03:19:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/9703013/2009
8 years, 9 months ago (2012-03-15 05:58:41 UTC) #10
commit-bot: I haz the power
8 years, 9 months ago (2012-03-15 07:34:02 UTC) #11
Change committed as 126860

Powered by Google App Engine
This is Rietveld 408576698