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

Issue 124673002: Remove notifications from PrintPreviewDialogController. (Closed)

Created:
6 years, 11 months ago by Avi (use Gerrit)
Modified:
6 years, 8 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews
Visibility:
Public.

Description

Remove notifications from PrintPreviewDialogController. BUG=170921 TEST=everything still works Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243252

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 4

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -151 lines) Patch
M chrome/browser/printing/print_preview_dialog_controller.h View 1 5 chunks +10 lines, -37 lines 0 comments Download
M chrome/browser/printing/print_preview_dialog_controller.cc View 1 2 11 chunks +155 lines, -106 lines 0 comments Download
M chrome/browser/printing/print_preview_dialog_controller_browsertest.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/printing/print_preview_dialog_controller_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Avi (use Gerrit)
6 years, 11 months ago (2014-01-06 19:22:06 UTC) #1
Lei Zhang
lgtm with a nit below. https://codereview.chromium.org/124673002/diff/110001/chrome/browser/printing/print_preview_dialog_controller.cc File chrome/browser/printing/print_preview_dialog_controller.cc (right): https://codereview.chromium.org/124673002/diff/110001/chrome/browser/printing/print_preview_dialog_controller.cc#newcode390 chrome/browser/printing/print_preview_dialog_controller.cc:390: STLDeleteElements(&preview_operations_); Isn't this handling ...
6 years, 11 months ago (2014-01-06 20:29:21 UTC) #2
Avi (use Gerrit)
https://codereview.chromium.org/124673002/diff/110001/chrome/browser/printing/print_preview_dialog_controller.cc File chrome/browser/printing/print_preview_dialog_controller.cc (right): https://codereview.chromium.org/124673002/diff/110001/chrome/browser/printing/print_preview_dialog_controller.cc#newcode390 chrome/browser/printing/print_preview_dialog_controller.cc:390: STLDeleteElements(&preview_operations_); On 2014/01/06 20:29:22, Lei Zhang wrote: > Isn't ...
6 years, 11 months ago (2014-01-06 21:34:05 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi@chromium.org/124673002/230001
6 years, 11 months ago (2014-01-06 21:34:55 UTC) #4
commit-bot: I haz the power
Change committed as 243252
6 years, 11 months ago (2014-01-07 10:59:41 UTC) #5
skyline999boy
On 2014/01/06 20:29:21, Lei Zhang wrote: > lgtm with a nit below. > > https://codereview.chromium.org/124673002/diff/110001/chrome/browser/printing/print_preview_dialog_controller.cc ...
6 years, 8 months ago (2014-04-26 12:00:14 UTC) #6
skyline999boy
6 years, 8 months ago (2014-04-26 12:00:32 UTC) #7
Message was sent while issue was closed.
On 2014/04/26 12:00:14, skyline999boy wrote:
> On 2014/01/06 20:29:21, Lei Zhang wrote:
> > lgtm with a nit below.
> > 
> >
>
https://codereview.chromium.org/124673002/diff/110001/chrome/browser/printing...
> > File chrome/browser/printing/print_preview_dialog_controller.cc (right):
> > 
> >
>
https://codereview.chromium.org/124673002/diff/110001/chrome/browser/printing...
> > chrome/browser/printing/print_preview_dialog_controller.cc:390:
> > STLDeleteElements(&preview_operations_);
> > Isn't this handling a DCHECK failure, which is something the chromium style
> > guide says not to do?
> > 
> >
>
https://codereview.chromium.org/124673002/diff/110001/chrome/browser/printing...
> > File chrome/browser/printing/print_preview_dialog_controller.h (right):
> > 
> >
>
https://codereview.chromium.org/124673002/diff/110001/chrome/browser/printing...
> > chrome/browser/printing/print_preview_dialog_controller.h:93:
> > std::vector<Operation*> preview_operations_;
> > |preview_operations_| should be small, so removing the std::map should be
> fine.

Powered by Google App Engine
This is Rietveld 408576698