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

Issue 6038008: Modify chrome to accept a pdf file on the command line and upload it to Cloud... (Closed)

Created:
9 years, 11 months ago by abodenha
Modified:
9 years, 7 months ago
Reviewers:
sanjeevr, Scott Byer
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Modify chrome to accept a pdf file on the command line and upload it to Cloud Print via the Cloud Print dialog Contributed by abodenha@google.com BUG=none TEST=Run Chrome on Windows with --cloud-print-file=<Path to PDF> and --cloud-print-job-title Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72392

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 12

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Total comments: 2

Patch Set 14 : '' #

Total comments: 4

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Patch Set 18 : '' #

Patch Set 19 : '' #

Patch Set 20 : '' #

Total comments: 1

Patch Set 21 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -28 lines) Patch
M chrome/browser/browser_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +25 lines, -1 line 0 comments Download
M chrome/browser/printing/print_dialog_cloud.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +13 lines, -4 lines 0 comments Download
M chrome/browser/printing/print_dialog_cloud.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 9 chunks +69 lines, -18 lines 0 comments Download
M chrome/browser/printing/print_dialog_cloud_internal.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/printing/print_dialog_cloud_uitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/printing/print_dialog_cloud_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/render_message_filter_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
abodenha
9 years, 11 months ago (2011-01-11 21:17:53 UTC) #1
sanjeevr
Added Scott as a reviewer since he wrote the Cloud Print dialog code. http://codereview.chromium.org/6038008/diff/26002/chrome/browser/browser_main.cc File ...
9 years, 11 months ago (2011-01-11 21:39:55 UTC) #2
Scott Byer
http://codereview.chromium.org/6038008/diff/26002/chrome/browser/printing/print_dialog_cloud.cc File chrome/browser/printing/print_dialog_cloud.cc (right): http://codereview.chromium.org/6038008/diff/26002/chrome/browser/printing/print_dialog_cloud.cc#newcode569 chrome/browser/printing/print_dialog_cloud.cc:569: if (browser_) { I'd be surprised if this pattern ...
9 years, 11 months ago (2011-01-11 21:46:31 UTC) #3
abodenha
I've updated code in response to your comments, but I'm running into test issues on ...
9 years, 11 months ago (2011-01-12 01:30:50 UTC) #4
Scott Byer
http://codereview.chromium.org/6038008/diff/27003/chrome/browser/printing/print_dialog_cloud.cc File chrome/browser/printing/print_dialog_cloud.cc (right): http://codereview.chromium.org/6038008/diff/27003/chrome/browser/printing/print_dialog_cloud.cc#newcode544 chrome/browser/printing/print_dialog_cloud.cc:544: if (modal_) { When called to print a web ...
9 years, 11 months ago (2011-01-12 23:35:02 UTC) #5
abodenha
On Wed, Jan 12, 2011 at 3:35 PM, <scottbyer@chromium.org> wrote: > > > http://codereview.chromium.org/6038008/diff/27003/chrome/browser/printing/print_dialog_cloud.cc > ...
9 years, 11 months ago (2011-01-13 00:00:44 UTC) #6
abodenha
Correction. I misread the try e-mail. The win try is now failing. I'll update the ...
9 years, 11 months ago (2011-01-13 00:05:55 UTC) #7
Scott Byer
LGTM, waiting for Sanjeev's OK. On 2011/01/13 00:05:55, abodenha wrote: > Correction. I misread the ...
9 years, 11 months ago (2011-01-13 00:08:22 UTC) #8
Scott Byer
Looks like trybot flake - just send the same patch again. -Scott On Wed, Jan ...
9 years, 11 months ago (2011-01-13 03:18:22 UTC) #9
sanjeevr
Mostly LGTM, I just have a couple of comments. http://codereview.chromium.org/6038008/diff/82001/chrome/browser/browser_main.cc File chrome/browser/browser_main.cc (right): http://codereview.chromium.org/6038008/diff/82001/chrome/browser/browser_main.cc#newcode1633 chrome/browser/browser_main.cc:1633: ...
9 years, 11 months ago (2011-01-13 18:03:36 UTC) #10
abodenha
I've uploaded a new patch and started a new try http://codereview.chromium.org/6038008/diff/82001/chrome/browser/browser_main.cc File chrome/browser/browser_main.cc (right): http://codereview.chromium.org/6038008/diff/82001/chrome/browser/browser_main.cc#newcode1633 ...
9 years, 11 months ago (2011-01-13 19:03:59 UTC) #11
sanjeevr
LGTM
9 years, 11 months ago (2011-01-13 19:08:46 UTC) #12
abodenha
Thanks. Can one of you submit once the try completes? On Thu, Jan 13, 2011 ...
9 years, 11 months ago (2011-01-13 19:13:52 UTC) #13
Scott Byer
Sorry, this slipped our minds. I'll commit in the morning. On 2011/01/13 19:13:52, abodenha wrote: ...
9 years, 11 months ago (2011-01-19 00:51:25 UTC) #14
abodenha
Thanks! On Tue, Jan 18, 2011 at 4:51 PM, <scottbyer@chromium.org> wrote: > Sorry, this slipped ...
9 years, 11 months ago (2011-01-19 00:52:56 UTC) #15
Scott Byer
There was a conflict when merging up with trunk (one line). It's easiest if you ...
9 years, 11 months ago (2011-01-19 18:23:14 UTC) #16
abodenha
Ah, the joys of waiting for re-sync/re-build. :-) I'll try to have a new patch ...
9 years, 11 months ago (2011-01-19 22:57:29 UTC) #17
abodenha
Conflicts are resolved, new patch uploaded, try started. Unfortunately, I'm unable to build locally due ...
9 years, 11 months ago (2011-01-20 01:37:35 UTC) #18
abodenha
Local issues are worked out. Once the tries pass we should be good to go. ...
9 years, 11 months ago (2011-01-20 02:01:42 UTC) #19
Scott Byer
I'll catch it first thing in the morning - I don't like to commit in ...
9 years, 11 months ago (2011-01-20 02:59:40 UTC) #20
abodenha
Sounds perfect. Thanks. On Jan 19, 2011 6:59 PM, "Scott Byer" <scottbyer@chromium.org> wrote: > I'll ...
9 years, 11 months ago (2011-01-20 06:10:51 UTC) #21
Scott Byer
9 years, 11 months ago (2011-01-24 20:18:38 UTC) #22
http://codereview.chromium.org/6038008/diff/154001/chrome/browser/browser_mai...
File chrome/browser/browser_main.cc (right):

http://codereview.chromium.org/6038008/diff/154001/chrome/browser/browser_mai...
chrome/browser/browser_main.cc:11: #include "ui/base/l10n/l10n_util.h"
Go ahead and move this include line to it's proper sorted location.

Powered by Google App Engine
This is Rietveld 408576698