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

Issue 2250843002: [CUPS] WebUI handler for CUPS printing: Retrieve the printer list from user preference. (Closed)

Created:
4 years, 4 months ago by xdai1
Modified:
4 years, 4 months ago
Reviewers:
skau, Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[CUPS] WebUI handler for CUPS printing: Retrieve the printer list from user preference. BUG=626752 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/cd2cbd9440df5479f3e0f3e99b54c6788cd5f9d7 Cr-Commit-Position: refs/heads/master@{#413275}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Address skau@ and dbeam@'s comments. #

Total comments: 4

Patch Set 3 : Call the URL parse directly instead of modifying GURL. #

Patch Set 4 : Address skau@'s comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -50 lines) Patch
M chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc View 1 2 3 3 chunks +57 lines, -46 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (11 generated)
xdai1
skau@, could you help review this CL please? Thanks!
4 years, 4 months ago (2016-08-18 00:01:57 UTC) #2
Dan Beam
https://codereview.chromium.org/2250843002/diff/1/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc (right): https://codereview.chromium.org/2250843002/diff/1/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc#newcode23 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc:23: void ExtractProtocolAndIpAddress(const std::string& uri, why can't you use GURL?
4 years, 4 months ago (2016-08-18 02:00:54 UTC) #3
skau
https://codereview.chromium.org/2250843002/diff/1/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc (right): https://codereview.chromium.org/2250843002/diff/1/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc#newcode23 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc:23: void ExtractProtocolAndIpAddress(const std::string& uri, On 2016/08/18 02:00:54, Dan Beam ...
4 years, 4 months ago (2016-08-18 05:27:40 UTC) #4
skau
4 years, 4 months ago (2016-08-18 05:27:41 UTC) #5
xdai1
skau@, dbeam@, please take another look at this CL, thanks! https://codereview.chromium.org/2250843002/diff/1/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc (right): https://codereview.chromium.org/2250843002/diff/1/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc#newcode23 ...
4 years, 4 months ago (2016-08-18 21:12:18 UTC) #8
Dan Beam
lgtm but i didn't look that hard into the url/ changes
4 years, 4 months ago (2016-08-18 21:17:01 UTC) #9
Dan Beam
https://codereview.chromium.org/2250843002/diff/20001/chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js File chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js (right): https://codereview.chromium.org/2250843002/diff/20001/chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js#newcode20 chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js:20: * printerQueue: string, is this code actually compiled? i ...
4 years, 4 months ago (2016-08-18 21:17:29 UTC) #10
Dan Beam
also, do you have plans to use printerQueue soon? could you link to those?
4 years, 4 months ago (2016-08-18 21:17:57 UTC) #11
xdai1
skau@, dbeam@, I've addressed your comments/offline comments. Please take another look, thanks! https://codereview.chromium.org/2250843002/diff/20001/chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js File chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js ...
4 years, 4 months ago (2016-08-18 23:06:40 UTC) #12
skau
lgtm Do you know who owns/should approve the url_util changes? https://codereview.chromium.org/2250843002/diff/1/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc (right): https://codereview.chromium.org/2250843002/diff/1/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc#newcode23 ...
4 years, 4 months ago (2016-08-19 00:08:45 UTC) #14
xdai1
On 2016/08/19 00:08:45, skau wrote: > lgtm > > Do you know who owns/should approve ...
4 years, 4 months ago (2016-08-19 00:12:53 UTC) #15
xdai1
Comments addressed. Please take another look, thanks! skau@, per offline discussion, I used the third ...
4 years, 4 months ago (2016-08-19 21:09:17 UTC) #16
skau
lgtm
4 years, 4 months ago (2016-08-19 21:15:23 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2250843002/80001
4 years, 4 months ago (2016-08-19 22:55:16 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 4 months ago (2016-08-19 23:00:52 UTC) #25
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 23:02:41 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cd2cbd9440df5479f3e0f3e99b54c6788cd5f9d7
Cr-Commit-Position: refs/heads/master@{#413275}

Powered by Google App Engine
This is Rietveld 408576698