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

Issue 2475813002: Enable Native CUPS printing on Chrome OS. (Closed)

Created:
4 years, 1 month ago by skau
Modified:
3 years, 8 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, michaelpg+watch-md-settings_chromium.org, oshima+watch_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, davemoore+watch_chromium.org, weifangsun, adlr, briannorris
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable Native CUPS printing on Chrome OS. Flips the polarity of the --enable-native-cups flag to --disable-native-cups. BUG=583155 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2475813002 Cr-Commit-Position: refs/heads/master@{#462954} Committed: https://chromium.googlesource.com/chromium/src/+/a9afc02163b48dbb93c9a343630096b8f45aec71

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : update new callsites #

Patch Set 4 : rebase #

Patch Set 5 : complete rebase #

Patch Set 6 : fix histogram entry #

Total comments: 2

Patch Set 7 : inverted conditional #

Total comments: 2

Patch Set 8 : alphabetize #

Patch Set 9 : rebase #

Total comments: 2

Patch Set 10 : add back old value #

Patch Set 11 : exempt my anchor #

Patch Set 12 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -30 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/printer_detector/printer_detector_factory.cc View 1 2 3 4 5 6 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/flag_descriptions.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/flag_descriptions.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/options_browsertest.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_ui.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/printer_backend_proxy_chromeos.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -6 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 66 (37 generated)
skau
Assuming we land everything in time.
4 years, 1 month ago (2016-11-03 23:03:36 UTC) #2
xdai1
On 2016/11/03 23:03:36, skau wrote: > Assuming we land everything in time. When do you ...
4 years, 1 month ago (2016-11-03 23:16:11 UTC) #3
skau
On 2016/11/03 23:16:11, xdai1 wrote: > On 2016/11/03 23:03:36, skau wrote: > > Assuming we ...
3 years, 9 months ago (2017-03-16 23:21:14 UTC) #4
skau
I've rebased this change and am running the buildbots. I think we're in a good ...
3 years, 8 months ago (2017-03-30 19:51:42 UTC) #16
adlr1
This CL is surprisingly big. Is changing 'enable' to 'disable' everywhere the convention?
3 years, 8 months ago (2017-03-30 23:10:06 UTC) #20
skau
The polarity for all the conditions needs to be flipped so that's most of the ...
3 years, 8 months ago (2017-03-30 23:40:37 UTC) #21
skau
Ping for review?
3 years, 8 months ago (2017-03-31 21:35:36 UTC) #22
chromium-reviews
LGTM but would like someone who works on Chrome more than I do to approve ...
3 years, 8 months ago (2017-03-31 21:40:26 UTC) #23
Carlson
lgtm https://codereview.chromium.org/2475813002/diff/100001/chrome/browser/chromeos/printer_detector/printer_detector_factory.cc File chrome/browser/chromeos/printer_detector/printer_detector_factory.cc (right): https://codereview.chromium.org/2475813002/diff/100001/chrome/browser/chromeos/printer_detector/printer_detector_factory.cc#newcode50 chrome/browser/chromeos/printer_detector/printer_detector_factory.cc:50: return PrinterDetector::CreateCups(Profile::FromBrowserContext(context)) Probably slightly better to flip the ...
3 years, 8 months ago (2017-03-31 21:45:53 UTC) #24
xdai1
lgtm
3 years, 8 months ago (2017-03-31 22:22:53 UTC) #25
skau
Thanks for the reviews. Adding OWNERS now. stevenjb: chrome/browser/resources/* chrome/browser/ui/webui/options/* chrome/browser/ui/webui/settings/* thestig: chrome/browser/ui/webui/print_preview/* jwd: tools/metrics/histograms/histograms.xml ...
3 years, 8 months ago (2017-03-31 23:29:09 UTC) #27
Lei Zhang
Very exciting! chrome/ lgtm https://codereview.chromium.org/2475813002/diff/120001/chrome/common/chrome_switches.h File chrome/common/chrome_switches.h (right): https://codereview.chromium.org/2475813002/diff/120001/chrome/common/chrome_switches.h#newcode277 chrome/common/chrome_switches.h:277: extern const char kEnableLoginScreenApps[]; nit: ...
3 years, 8 months ago (2017-03-31 23:35:34 UTC) #28
skau
Thanks for the review. I am also excited! https://codereview.chromium.org/2475813002/diff/120001/chrome/common/chrome_switches.h File chrome/common/chrome_switches.h (right): https://codereview.chromium.org/2475813002/diff/120001/chrome/common/chrome_switches.h#newcode277 chrome/common/chrome_switches.h:277: extern ...
3 years, 8 months ago (2017-04-01 01:02:47 UTC) #29
chromium-reviews
🤗 On Fri, Mar 31, 2017 at 6:02 PM, <skau@chromium.org> wrote: > Thanks for the ...
3 years, 8 months ago (2017-04-03 15:16:50 UTC) #34
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/2475813002/160001
3 years, 8 months ago (2017-04-03 18:30:03 UTC) #37
skau
Ping for review? :) stevenjb: chrome/browser/resources/options/browser_options.js chrome/browser/ui/webui/options/browser_options_handler.cc jwd: tools/metrics/histograms/histograms.xml
3 years, 8 months ago (2017-04-03 18:40:41 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/401164)
3 years, 8 months ago (2017-04-03 18:47:44 UTC) #40
stevenjb
lgtm
3 years, 8 months ago (2017-04-03 18:53:44 UTC) #41
skau
Ping for review? Just one more file. jwd@: tools/metrics/histograms/histograms.xml
3 years, 8 months ago (2017-04-04 21:15:08 UTC) #43
skau
holte: Would you mind approving tools/metrics/histograms/histograms.xml? You reviewed the original value of enable-native-cups in https://codereview.chromium.org/1932903002
3 years, 8 months ago (2017-04-05 19:37:13 UTC) #48
Steven Holte
lgtm https://codereview.chromium.org/2475813002/diff/160001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2475813002/diff/160001/tools/metrics/histograms/histograms.xml#oldcode100668 tools/metrics/histograms/histograms.xml:100668: - <int value="-535208779" label="enable-native-cups"/> You might actually want ...
3 years, 8 months ago (2017-04-06 17:48:47 UTC) #49
skau
Thanks for the reviews! https://codereview.chromium.org/2475813002/diff/160001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2475813002/diff/160001/tools/metrics/histograms/histograms.xml#oldcode100668 tools/metrics/histograms/histograms.xml:100668: - <int value="-535208779" label="enable-native-cups"/> On ...
3 years, 8 months ago (2017-04-06 18:02:40 UTC) #50
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/2475813002/180001
3 years, 8 months ago (2017-04-06 18:04:22 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/399685)
3 years, 8 months ago (2017-04-06 19:57:31 UTC) #55
skau
As far as I can tell, the test flaked. I'm going to run it again.
3 years, 8 months ago (2017-04-06 21:15:58 UTC) #56
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/2475813002/180001
3 years, 8 months ago (2017-04-06 21:18:14 UTC) #58
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/399969)
3 years, 8 months ago (2017-04-06 23:28:40 UTC) #60
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/2475813002/220001
3 years, 8 months ago (2017-04-07 18:04:51 UTC) #63
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 19:19:53 UTC) #66
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/a9afc02163b48dbb93c9a3436300...

Powered by Google App Engine
This is Rietveld 408576698