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

Issue 2838603004: Re-enable Cloud printers for ChromeOS kiosks. (Closed)

Created:
3 years, 8 months ago by skau
Modified:
3 years, 8 months ago
Reviewers:
Lei Zhang, xdai1
CC:
chromium-reviews, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-enable Cloud printers for ChromeOS kiosks. In a previous CL (https://codereview.chromium.org/2760753002) we made an assumption that only local printers would appear in the local printer list. This turns out to be incorrect. The actual condition is that only cloud printers appear in the cloud list and sometimes appear in the local list (when they're device printers). This CL accounts for this behavior and adds a test so we don't break it in the future. BUG=713831 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2838603004 Cr-Commit-Position: refs/heads/master@{#466895} Committed: https://chromium.googlesource.com/chromium/src/+/e02af5b94d73c62ad0708593d4514aa15be4ee6d

Patch Set 1 #

Total comments: 2

Patch Set 2 : narrow criteria #

Total comments: 2

Patch Set 3 : fix indentation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -3 lines) Patch
M chrome/browser/resources/print_preview/search/destination_search.js View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
M chrome/test/data/webui/print_preview_destination_search_test.js View 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
skau
Please take a look. I've included a verbose description since I found the behavior to ...
3 years, 8 months ago (2017-04-25 00:29:36 UTC) #3
xdai1
On 2017/04/25 00:29:36, skau wrote: > Please take a look. I've included a verbose description ...
3 years, 8 months ago (2017-04-25 00:33:30 UTC) #6
xdai1
On 2017/04/25 00:33:30, xdai1 wrote: > On 2017/04/25 00:29:36, skau wrote: > > Please take ...
3 years, 8 months ago (2017-04-25 00:33:56 UTC) #7
Lei Zhang
https://codereview.chromium.org/2838603004/diff/1/chrome/browser/resources/print_preview/search/destination_search.js File chrome/browser/resources/print_preview/search/destination_search.js (right): https://codereview.chromium.org/2838603004/diff/1/chrome/browser/resources/print_preview/search/destination_search.js#newcode588 chrome/browser/resources/print_preview/search/destination_search.js:588: var destinationItem; Looking at renderDestinations_() above, should this block ...
3 years, 8 months ago (2017-04-25 00:42:36 UTC) #8
skau
I've narrowed the criteria. PTAL. https://codereview.chromium.org/2838603004/diff/1/chrome/browser/resources/print_preview/search/destination_search.js File chrome/browser/resources/print_preview/search/destination_search.js (right): https://codereview.chromium.org/2838603004/diff/1/chrome/browser/resources/print_preview/search/destination_search.js#newcode588 chrome/browser/resources/print_preview/search/destination_search.js:588: var destinationItem; On 2017/04/25 ...
3 years, 8 months ago (2017-04-25 00:58:05 UTC) #10
Lei Zhang
lgtm https://codereview.chromium.org/2838603004/diff/20001/chrome/browser/resources/print_preview/search/destination_search.js File chrome/browser/resources/print_preview/search/destination_search.js (right): https://codereview.chromium.org/2838603004/diff/20001/chrome/browser/resources/print_preview/search/destination_search.js#newcode592 chrome/browser/resources/print_preview/search/destination_search.js:592: destination.origin == print_preview.Destination.Origin.DEVICE) ? Indentation looks wonky. Should ...
3 years, 8 months ago (2017-04-25 01:20:46 UTC) #12
skau
Thanks for the review. https://codereview.chromium.org/2838603004/diff/20001/chrome/browser/resources/print_preview/search/destination_search.js File chrome/browser/resources/print_preview/search/destination_search.js (right): https://codereview.chromium.org/2838603004/diff/20001/chrome/browser/resources/print_preview/search/destination_search.js#newcode592 chrome/browser/resources/print_preview/search/destination_search.js:592: destination.origin == print_preview.Destination.Origin.DEVICE) ? On ...
3 years, 8 months ago (2017-04-25 01:45:47 UTC) #13
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/2838603004/40001
3 years, 8 months ago (2017-04-25 01:46:12 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/e02af5b94d73c62ad0708593d4514aa15be4ee6d
3 years, 8 months ago (2017-04-25 05:34:45 UTC) #19
pkalinnikov
3 years, 8 months ago (2017-04-25 14:23:44 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2840593003/ by pkalinnikov@chromium.org.

The reason for reverting is: Seems causing the "Linux MSan Tests" bot fail on
PrintPreviewDestinationSearchTest.Select test..

Powered by Google App Engine
This is Rietveld 408576698