|
|
Created:
6 years, 9 months ago by yi Modified:
6 years, 9 months ago CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Visibility:
Public. |
DescriptionTurn off Task Manager should not break the build on Linux
BUG=355781
R=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259468
Patch Set 1 #
Total comments: 2
Patch Set 2 : Updated based on Mlket's comment #
Total comments: 1
Patch Set 3 : updated base on Peter Kasting's comment #
Total comments: 1
Patch Set 4 : clean comments #
Messages
Total messages: 24 (0 generated)
https://codereview.chromium.org/209353016/diff/1/chrome/browser/extensions/ap... File chrome/browser/extensions/api/processes/processes_api.cc (right): https://codereview.chromium.org/209353016/diff/1/chrome/browser/extensions/ap... chrome/browser/extensions/api/processes/processes_api.cc:675: #endif // defined(ENABLE_TASK_MANAGER) Should there be a SendResponse() here as well? https://codereview.chromium.org/209353016/diff/1/chrome/browser/ui/browser_co... File chrome/browser/ui/browser_commands.cc (right): https://codereview.chromium.org/209353016/diff/1/chrome/browser/ui/browser_co... chrome/browser/ui/browser_commands.cc:1028: #endif // defined(ENABLE_TASK_MANAGER) I can't tell for sure from here, but is this better as an #else NOT_REACHED()? You should be able to inspect the code and determine that if CanOpenTaskManager() is hard-coded false, then no code should ever call OpenTaskManager().
Thanks for the review, mlket. I have updated the patch based on your suggestion.
lgtm
The CQ bit was checked by yi.shen@samsung.com
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yi.shen@samsung.com/209353016/20001
The CQ bit was unchecked by commit-bot@chromium.org
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_p...
On 2014/03/24 23:48:08, miket wrote: > lgtm mlket, I got following errors from Trybot. Could you please help to check with it? ** Presubmit ERRORS ** Missing LGTM from an OWNER for these files: chrome/browser/ui/browser_commands.cc http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/bu...
I can't help you further than the error message. You need to get an approval from a person listed as an owner. Apparently I'm not one of those people.
On 2014/03/25 16:56:52, miket wrote: > I can't help you further than the error message. You need to get an approval > from a person listed as an owner. Apparently I'm not one of those people. Thank you, Mlket! Peter, could you help me review this patch? Thanks in advanced!
https://codereview.chromium.org/209353016/diff/20001/chrome/browser/ui/browse... File chrome/browser/ui/browser_commands.cc (right): https://codereview.chromium.org/209353016/diff/20001/chrome/browser/ui/browse... chrome/browser/ui/browser_commands.cc:1014: #endif // defined(ENABLE_TASK_MANAGER) You can't do this; this will trigger an unreachable code warning in MSVC if ENABLE_TASK_MANAGER is not defined, once that warning is turned on. Instead of the #endif you have, you need to wrap the subsequent code in an #else. Nit: Don't bother with the EOL comments here and below, these #ifs are short and the comments just add noise.
On 2014/03/25 20:48:43, Peter Kasting wrote: > https://codereview.chromium.org/209353016/diff/20001/chrome/browser/ui/browse... > File chrome/browser/ui/browser_commands.cc (right): > > https://codereview.chromium.org/209353016/diff/20001/chrome/browser/ui/browse... > chrome/browser/ui/browser_commands.cc:1014: #endif // > defined(ENABLE_TASK_MANAGER) > You can't do this; this will trigger an unreachable code warning in MSVC if > ENABLE_TASK_MANAGER is not defined, once that warning is turned on. > > Instead of the #endif you have, you need to wrap the subsequent code in an > #else. > > Nit: Don't bother with the EOL comments here and below, these #ifs are short and > the comments just add noise. Thanks for review. I have updated the patch.
LGTM https://codereview.chromium.org/209353016/diff/90001/chrome/browser/ui/browse... File chrome/browser/ui/browser_commands.cc (right): https://codereview.chromium.org/209353016/diff/90001/chrome/browser/ui/browse... chrome/browser/ui/browser_commands.cc:1030: #endif // defined(ENABLE_TASK_MANAGER) Nit: No need for this EOL comment
On 2014/03/25 21:30:11, Peter Kasting wrote: > LGTM > > https://codereview.chromium.org/209353016/diff/90001/chrome/browser/ui/browse... > File chrome/browser/ui/browser_commands.cc (right): > > https://codereview.chromium.org/209353016/diff/90001/chrome/browser/ui/browse... > chrome/browser/ui/browser_commands.cc:1030: #endif // > defined(ENABLE_TASK_MANAGER) > Nit: No need for this EOL comment Thank you!
The CQ bit was checked by yi.shen@samsung.com
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yi.shen@samsung.com/209353016/120001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
The CQ bit was checked by yi.shen@samsung.com
The CQ bit was unchecked by yi.shen@samsung.com
The CQ bit was checked by yi.shen@samsung.com
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yi.shen@samsung.com/209353016/120001
Message was sent while issue was closed.
Change committed as 259468 |