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

Issue 2906633004: Modify PrinterSetupResult enum to constant style. (Closed)

Created:
3 years, 7 months ago by skau
Modified:
3 years, 7 months ago
Reviewers:
Lei Zhang, Carlson
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Modify PrinterSetupResult enum to constant style. We've moved away from MACRO_STYLE to kConstantStyle for enum names. Migrate PrinterSetupResult so we don't get a conflict later. BUG=725741 Review-Url: https://codereview.chromium.org/2906633004 Cr-Commit-Position: refs/heads/master@{#475115} Committed: https://chromium.googlesource.com/chromium/src/+/4b97690be1738233d04011eee439dd58b17eb05b

Patch Set 1 #

Patch Set 2 : git squash commit for enum-style. #

Total comments: 3

Patch Set 3 : change max value #

Total comments: 2

Patch Set 4 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -37 lines) Patch
M chrome/browser/chromeos/printer_detector/cups_printer_detector.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/printing/printer_configurer.h View 1 2 1 chunk +10 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/printing/printer_configurer.cc View 1 3 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/printer_backend_proxy_chromeos.cc View 1 2 3 3 chunks +12 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc View 1 2 1 chunk +12 lines, -9 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (6 generated)
skau
Per https://groups.google.com/a/chromium.org/forum/#!topic/cxx/Hpkfudv5bac we've changed enum style. Somebody will probably fix the whole codebase later. But ...
3 years, 7 months ago (2017-05-25 22:37:49 UTC) #2
Lei Zhang
https://codereview.chromium.org/2906633004/diff/20001/chrome/browser/chromeos/printing/printer_configurer.h File chrome/browser/chromeos/printing/printer_configurer.h (right): https://codereview.chromium.org/2906633004/diff/20001/chrome/browser/chromeos/printing/printer_configurer.h#newcode22 chrome/browser/chromeos/printing/printer_configurer.h:22: // Space left for additional errors Can you explain ...
3 years, 7 months ago (2017-05-25 22:53:04 UTC) #3
skau
https://codereview.chromium.org/2906633004/diff/20001/chrome/browser/chromeos/printing/printer_configurer.h File chrome/browser/chromeos/printing/printer_configurer.h (right): https://codereview.chromium.org/2906633004/diff/20001/chrome/browser/chromeos/printing/printer_configurer.h#newcode22 chrome/browser/chromeos/printing/printer_configurer.h:22: // Space left for additional errors On 2017/05/25 22:53:03, ...
3 years, 7 months ago (2017-05-25 23:11:08 UTC) #4
Lei Zhang
lgtm https://codereview.chromium.org/2906633004/diff/20001/chrome/browser/chromeos/printing/printer_configurer.h File chrome/browser/chromeos/printing/printer_configurer.h (right): https://codereview.chromium.org/2906633004/diff/20001/chrome/browser/chromeos/printing/printer_configurer.h#newcode22 chrome/browser/chromeos/printing/printer_configurer.h:22: // Space left for additional errors On 2017/05/25 ...
3 years, 7 months ago (2017-05-25 23:24:07 UTC) #5
skau
FYI: I changed the kMaxValue and added a comment. justincarlson@: Do you want to take ...
3 years, 7 months ago (2017-05-26 17:38:55 UTC) #7
Carlson
lgtm https://codereview.chromium.org/2906633004/diff/40001/chrome/browser/ui/webui/print_preview/printer_backend_proxy_chromeos.cc File chrome/browser/ui/webui/print_preview/printer_backend_proxy_chromeos.cc (right): https://codereview.chromium.org/2906633004/diff/40001/chrome/browser/ui/webui/print_preview/printer_backend_proxy_chromeos.cc#newcode178 chrome/browser/ui/webui/print_preview/printer_backend_proxy_chromeos.cc:178: NOTREACHED() << "This value is not exepcted"; expected
3 years, 7 months ago (2017-05-26 20:07:40 UTC) #8
skau
Thanks for the review. https://codereview.chromium.org/2906633004/diff/40001/chrome/browser/ui/webui/print_preview/printer_backend_proxy_chromeos.cc File chrome/browser/ui/webui/print_preview/printer_backend_proxy_chromeos.cc (right): https://codereview.chromium.org/2906633004/diff/40001/chrome/browser/ui/webui/print_preview/printer_backend_proxy_chromeos.cc#newcode178 chrome/browser/ui/webui/print_preview/printer_backend_proxy_chromeos.cc:178: NOTREACHED() << "This value is ...
3 years, 7 months ago (2017-05-26 20:10:20 UTC) #11
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/2906633004/60001
3 years, 7 months ago (2017-05-26 20:10:40 UTC) #12
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 20:41:12 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/4b97690be1738233d04011eee439...

Powered by Google App Engine
This is Rietveld 408576698