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

Issue 2890383003: Bootstrapping: Send meaningful error code/message from Slave to Master (Closed)

Created:
3 years, 7 months ago by xdai1
Modified:
3 years, 6 months ago
Reviewers:
achuithb
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Bootstrapping: Send meaningful error code/message from Slave to Master using the following convention: [1*, "network error"] [2*, "authentication error"], e.g., [21, "Service unavailable"], ... [3*, "enrollment error"], e.g., [31, "DMserver registration error"], [32, "Policy validation error"], ... [4*, "other error"] BUG=695235 TEST=Manually Review-Url: https://codereview.chromium.org/2890383003 Cr-Commit-Position: refs/heads/master@{#480858} Committed: https://chromium.googlesource.com/chromium/src/+/74b40e5f9f72ee12fa5292e5c1cbc4c9fe378432

Patch Set 1 : . #

Total comments: 19

Patch Set 2 : Rebase. Address achuith@'s comments. #

Total comments: 4

Patch Set 3 : Address achuith@'s comments. Rebase #

Total comments: 6

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -38 lines) Patch
M chrome/browser/chromeos/login/helper.h View 3 chunks +7 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/login/helper.cc View 1 2 5 chunks +13 lines, -18 lines 0 comments Download
M chrome/browser/chromeos/login/screens/host_pairing_screen.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/screens/host_pairing_screen.cc View 1 2 3 3 chunks +27 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/screens/network_screen.h View 1 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/screens/network_screen.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 1 2 3 chunks +16 lines, -2 lines 0 comments Download
M components/pairing/bluetooth_host_pairing_controller.h View 1 3 chunks +14 lines, -0 lines 0 comments Download
M components/pairing/bluetooth_host_pairing_controller.cc View 1 4 chunks +37 lines, -3 lines 0 comments Download
M components/pairing/fake_host_pairing_controller.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/pairing/fake_host_pairing_controller.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/pairing/host_pairing_controller.h View 1 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (28 generated)
xdai1
achuith@, could you help review this CL please? Thanks!
3 years, 7 months ago (2017-05-23 21:36:14 UTC) #14
achuithb
https://codereview.chromium.org/2890383003/diff/40001/chrome/browser/chromeos/login/helper.cc File chrome/browser/chromeos/login/helper.cc (right): https://codereview.chromium.org/2890383003/diff/40001/chrome/browser/chromeos/login/helper.cc#newcode40 chrome/browser/chromeos/login/helper.cc:40: const char kInvalidJsonError[] = "Invalid JSON Dictionary"; Does this ...
3 years, 6 months ago (2017-05-25 19:25:54 UTC) #15
achuithb
https://codereview.chromium.org/2890383003/diff/40001/chrome/browser/chromeos/login/screens/host_pairing_screen.cc File chrome/browser/chromeos/login/screens/host_pairing_screen.cc (right): https://codereview.chromium.org/2890383003/diff/40001/chrome/browser/chromeos/login/screens/host_pairing_screen.cc#newcode164 chrome/browser/chromeos/login/screens/host_pairing_screen.cc:164: std::stoi(std::to_string(HostPairingController::AUTH_ERROR) + On 2017/05/25 19:25:53, achuithb wrote: > What's ...
3 years, 6 months ago (2017-05-25 19:27:34 UTC) #16
xdai1
achuith@, I'm sorry for the late reply. I've addressed the comments. Please take another look, ...
3 years, 6 months ago (2017-06-08 22:18:41 UTC) #17
xdai1
On 2017/06/08 22:18:41, xdai1 wrote: > achuith@, I'm sorry for the late reply. I've addressed ...
3 years, 6 months ago (2017-06-14 00:18:47 UTC) #22
xdai1
Sorry pressed the mouse too quickly without entering any text... kindly ping, Could you take ...
3 years, 6 months ago (2017-06-14 00:20:25 UTC) #23
xdai1
ping again?
3 years, 6 months ago (2017-06-16 00:13:12 UTC) #24
achuithb
Sorry about the delay https://codereview.chromium.org/2890383003/diff/60001/chrome/browser/chromeos/login/helper.cc File chrome/browser/chromeos/login/helper.cc (right): https://codereview.chromium.org/2890383003/diff/60001/chrome/browser/chromeos/login/helper.cc#newcode179 chrome/browser/chromeos/login/helper.cc:179: new base::DictionaryValue); base::MakeUnique? https://codereview.chromium.org/2890383003/diff/60001/chrome/browser/chromeos/login/screens/host_pairing_screen.cc File ...
3 years, 6 months ago (2017-06-17 00:12:00 UTC) #25
xdai1
Thanks for the review! https://codereview.chromium.org/2890383003/diff/60001/chrome/browser/chromeos/login/helper.cc File chrome/browser/chromeos/login/helper.cc (right): https://codereview.chromium.org/2890383003/diff/60001/chrome/browser/chromeos/login/helper.cc#newcode179 chrome/browser/chromeos/login/helper.cc:179: new base::DictionaryValue); On 2017/06/17 00:11:59, ...
3 years, 6 months ago (2017-06-19 18:15:00 UTC) #26
achuithb
https://codereview.chromium.org/2890383003/diff/80001/chrome/browser/chromeos/login/screens/host_pairing_screen.cc File chrome/browser/chromeos/login/screens/host_pairing_screen.cc (right): https://codereview.chromium.org/2890383003/diff/80001/chrome/browser/chromeos/login/screens/host_pairing_screen.cc#newcode20 chrome/browser/chromeos/login/screens/host_pairing_screen.cc:20: // Gets the fine-grained enrollment error code. It's calculated ...
3 years, 6 months ago (2017-06-19 22:57:28 UTC) #31
xdai1
achuith@, I've addressed your comments. Please take anotehr look, thanks for the review! https://codereview.chromium.org/2890383003/diff/80001/chrome/browser/chromeos/login/screens/host_pairing_screen.cc File ...
3 years, 6 months ago (2017-06-19 23:45:11 UTC) #32
achuithb
lgtm. Thanks for your patience!
3 years, 6 months ago (2017-06-19 23:48:50 UTC) #35
xdai1
On 2017/06/19 23:48:50, achuithb wrote: > lgtm. Thanks for your patience! Thanks for the review!
3 years, 6 months ago (2017-06-20 16:44:13 UTC) #38
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/2890383003/100001
3 years, 6 months ago (2017-06-20 16:44:41 UTC) #40
commit-bot: I haz the power
3 years, 6 months ago (2017-06-20 16:49:48 UTC) #43
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/74b40e5f9f72ee12fa5292e5c1cb...

Powered by Google App Engine
This is Rietveld 408576698