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

Issue 177843009: Make GetUserName() return more specific error code, so that we could know how the function failed. (Closed)

Created:
6 years, 10 months ago by yao
Modified:
6 years, 9 months ago
CC:
chromium-reviews, Alexei Svitkine (slow)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Make GetUserName() return more specific error code, so that we could know how the function failed. However, a lot user at under version 33 or lower, which means they don't auto-update Chrome? I'm not sure if this new piece of code will get to the affected users. BUG=334675 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255985

Patch Set 1 #

Patch Set 2 : Add CHECK for debugging. #

Total comments: 2

Patch Set 3 : build #

Patch Set 4 : Build. #

Total comments: 4

Patch Set 5 : Apply Check directly to the function. #

Total comments: 4

Patch Set 6 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -14 lines) Patch
M rlz/win/lib/process_info.cc View 1 2 3 4 5 3 chunks +9 lines, -14 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
yao
6 years, 10 months ago (2014-02-25 22:40:53 UTC) #1
jar (doing other things)
The comments below apply throughout the file. I'm not sure why I was asked to ...
6 years, 10 months ago (2014-02-26 00:27:07 UTC) #2
yao
6 years, 9 months ago (2014-02-28 18:23:22 UTC) #3
Roger Tawa OOO till Jul 10th
https://codereview.chromium.org/177843009/diff/140001/rlz/win/lib/process_info.cc File rlz/win/lib/process_info.cc (right): https://codereview.chromium.org/177843009/diff/140001/rlz/win/lib/process_info.cc#newcode47 rlz/win/lib/process_info.cc:47: } From the docs, I don't believe getting a ...
6 years, 9 months ago (2014-02-28 19:34:00 UTC) #4
yao
https://codereview.chromium.org/177843009/diff/140001/rlz/win/lib/process_info.cc File rlz/win/lib/process_info.cc (right): https://codereview.chromium.org/177843009/diff/140001/rlz/win/lib/process_info.cc#newcode47 rlz/win/lib/process_info.cc:47: } On 2014/02/28 19:34:00, Roger Tawa wrote: > From ...
6 years, 9 months ago (2014-02-28 21:28:19 UTC) #5
Roger Tawa OOO till Jul 10th
lgtm after addressing two comments below. https://codereview.chromium.org/177843009/diff/180001/rlz/win/lib/process_info.cc File rlz/win/lib/process_info.cc (right): https://codereview.chromium.org/177843009/diff/180001/rlz/win/lib/process_info.cc#newcode55 rlz/win/lib/process_info.cc:55: token_user_size, &token_user_size2)) Remove ...
6 years, 9 months ago (2014-03-01 14:54:58 UTC) #6
Roger Tawa OOO till Jul 10th
Note: also missing a ; at end of line 69.
6 years, 9 months ago (2014-03-01 14:56:02 UTC) #7
yiyaoliu
6 years, 9 months ago (2014-03-03 14:24:20 UTC) #8
yiyaoliu
Hi Roger, It now passes the test rlz_unittests. Thanks, Yiyao https://codereview.chromium.org/177843009/diff/180001/rlz/win/lib/process_info.cc File rlz/win/lib/process_info.cc (right): https://codereview.chromium.org/177843009/diff/180001/rlz/win/lib/process_info.cc#newcode55 ...
6 years, 9 months ago (2014-03-05 21:32:44 UTC) #9
yiyaoliu
The CQ bit was checked by yiyaoliu@google.com
6 years, 9 months ago (2014-03-07 15:28:38 UTC) #10
yiyaoliu
The CQ bit was unchecked by yiyaoliu@google.com
6 years, 9 months ago (2014-03-07 15:28:54 UTC) #11
yiyaoliu
The CQ bit was checked by yiyaoliu@google.com
6 years, 9 months ago (2014-03-07 19:29:03 UTC) #12
yiyaoliu
The CQ bit was unchecked by yiyaoliu@google.com
6 years, 9 months ago (2014-03-07 19:29:05 UTC) #13
yiyaoliu
The CQ bit was checked by yiyaoliu@google.com
6 years, 9 months ago (2014-03-07 19:29:06 UTC) #14
yiyaoliu
The CQ bit was unchecked by yiyaoliu@google.com
6 years, 9 months ago (2014-03-07 19:29:08 UTC) #15
yiyaoliu
The CQ bit was checked by yiyaoliu@google.com
6 years, 9 months ago (2014-03-07 19:29:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yiyaoliu@chromium.org/177843009/270001
6 years, 9 months ago (2014-03-07 19:32:34 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yiyaoliu@chromium.org/177843009/270001
6 years, 9 months ago (2014-03-07 20:27:56 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yiyaoliu@chromium.org/177843009/270001
6 years, 9 months ago (2014-03-08 10:54:47 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 14:14:23 UTC) #20
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=234335
6 years, 9 months ago (2014-03-08 14:14:25 UTC) #21
yao
The CQ bit was checked by yiyaoliu@chromium.org
6 years, 9 months ago (2014-03-10 14:27:08 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yiyaoliu@chromium.org/177843009/270001
6 years, 9 months ago (2014-03-10 14:29:06 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yiyaoliu@chromium.org/177843009/270001
6 years, 9 months ago (2014-03-10 15:53:47 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yiyaoliu@chromium.org/177843009/270001
6 years, 9 months ago (2014-03-10 17:40:40 UTC) #25
commit-bot: I haz the power
6 years, 9 months ago (2014-03-10 18:22:18 UTC) #26
Message was sent while issue was closed.
Change committed as 255985

Powered by Google App Engine
This is Rietveld 408576698