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

Issue 3450021: Cloud print proxy management UI. (Closed)

Created:
10 years, 3 months ago by Scott Byer
Modified:
9 years, 7 months ago
Reviewers:
sanjeevr
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Cloud print proxy management UI. Based in the Under-the-Hood section of options, this UI allows mere mortals to turn on and off the cloud print proxy. Currently working on Windows only, behind a flag. BUG=none TEST=Open up the options, turn CPP on and off. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60684

Patch Set 1 #

Patch Set 2 : Fix lint issues git cl presubmit ignored #

Total comments: 25

Patch Set 3 : Address review comments. #

Patch Set 4 : l10n, url, browser lifetime fixes #

Total comments: 4

Patch Set 5 : Fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+907 lines, -15 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 3 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/browser.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/browser.cc View 1 2 3 4 3 chunks +6 lines, -0 lines 0 comments Download
A chrome/browser/printing/cloud_print/cloud_print_setup_flow.h View 1 2 3 4 1 chunk +132 lines, -0 lines 0 comments Download
A chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc View 1 2 3 4 1 chunk +430 lines, -0 lines 0 comments Download
A chrome/browser/printing/cloud_print/cloud_print_setup_message_handler.h View 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/printing/cloud_print/cloud_print_setup_message_handler.cc View 1 chunk +47 lines, -0 lines 0 comments Download
M chrome/browser/service/service_process_control.h View 1 4 chunks +18 lines, -1 line 0 comments Download
M chrome/browser/service/service_process_control.cc View 3 chunks +28 lines, -5 lines 0 comments Download
M chrome/browser/views/options/advanced_contents_view.cc View 1 2 3 4 4 chunks +162 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/net/gaia/gaia_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/net/gaia/gaia_constants.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/service_messages_internal.h View 2 chunks +8 lines, -5 lines 0 comments Download
M chrome/service/service_ipc_server.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/service/service_ipc_server.cc View 1 2 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Scott Byer
Here is the code for implementing the UI for the proxy. Splitting the IPC on ...
10 years, 3 months ago (2010-09-22 00:56:01 UTC) #1
sanjeevr
http://codereview.chromium.org/3450021/diff/16001/17001 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/3450021/diff/16001/17001#newcode7149 chrome/app/generated_resources.grd:7149: Cloud Print Check whether we should localize Cloud Print. ...
10 years, 3 months ago (2010-09-22 23:49:37 UTC) #2
Scott Byer
http://codereview.chromium.org/3450021/diff/16001/17001 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/3450021/diff/16001/17001#newcode7149 chrome/app/generated_resources.grd:7149: Cloud Print On 2010/09/22 23:49:37, sanjeevr wrote: > Check ...
10 years, 3 months ago (2010-09-23 19:02:33 UTC) #3
sanjeevr
LGTM with 2 nits: 1. There are other instances of "Cloud Print" in the GRD ...
10 years, 3 months ago (2010-09-23 21:59:39 UTC) #4
Scott Byer
Enough changed with the browser lifetime fix, if you could take one last look. Thanks! ...
10 years, 3 months ago (2010-09-25 01:31:53 UTC) #5
sanjeevr
10 years, 3 months ago (2010-09-25 04:26:21 UTC) #6
LGTM with nits.

http://codereview.chromium.org/3450021/diff/40001/41004
File chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc (right):

http://codereview.chromium.org/3450021/diff/40001/41004#newcode195
chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc:195: // If a
browser doesn't exist, create one (sans window) to run the
This comment is invalid

http://codereview.chromium.org/3450021/diff/40001/41005
File chrome/browser/printing/cloud_print/cloud_print_setup_flow.h (right):

http://codereview.chromium.org/3450021/diff/40001/41005#newcode87
chrome/browser/printing/cloud_print/cloud_print_setup_flow.h:87:
CloudPrintSetupFlow(const std::string& args, Browser* profile);
Nit: Browser* browser. Also please add a comment that the class takes ownership
of browser.

http://codereview.chromium.org/3450021/diff/40001/41010
File chrome/browser/views/options/advanced_contents_view.cc (right):

http://codereview.chromium.org/3450021/diff/40001/41010#newcode1432
chrome/browser/views/options/advanced_contents_view.cc:1432: // lost behind
other windows.
Wrong comment.

http://codereview.chromium.org/3450021/diff/40001/41010#newcode1433
chrome/browser/views/options/advanced_contents_view.cc:1433: Browser* browser =
Browser::Create(profile());
I presume in this case, we don't need to delete browser because we are opening a
tab?

Powered by Google App Engine
This is Rietveld 408576698