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

Issue 796163003: Android: Remove some extra CHECKs() (Closed)

Created:
6 years ago by no sievers
Modified:
6 years ago
Reviewers:
Feng Qian
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android: Remove some extra CHECKs() These were only temporarily needed for root-causing some bot flakiness. BUG=396568 TBR=feng@chromium.org NOTRY=True Committed: https://crrev.com/d1921eb286f471f9515d1d36713a16d9544ba1fb Cr-Commit-Position: refs/heads/master@{#308122}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -6 lines) Patch
M content/browser/child_process_launcher.cc View 1 chunk +0 lines, -6 lines 3 comments Download

Messages

Total messages: 7 (1 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/796163003/1
6 years ago (2014-12-12 18:22:39 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years ago (2014-12-12 18:23:53 UTC) #3
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/d1921eb286f471f9515d1d36713a16d9544ba1fb Cr-Commit-Position: refs/heads/master@{#308122}
6 years ago (2014-12-12 18:24:45 UTC) #4
Feng Qian
https://codereview.chromium.org/796163003/diff/1/content/browser/child_process_launcher.cc File content/browser/child_process_launcher.cc (left): https://codereview.chromium.org/796163003/diff/1/content/browser/child_process_launcher.cc#oldcode192 content/browser/child_process_launcher.cc:192: CHECK_NE(switches::kZygoteProcess, process_type); Should we log the unknown process type ...
6 years ago (2014-12-12 18:29:42 UTC) #5
no sievers
https://codereview.chromium.org/796163003/diff/1/content/browser/child_process_launcher.cc File content/browser/child_process_launcher.cc (left): https://codereview.chromium.org/796163003/diff/1/content/browser/child_process_launcher.cc#oldcode192 content/browser/child_process_launcher.cc:192: CHECK_NE(switches::kZygoteProcess, process_type); On 2014/12/12 18:29:42, Feng Qian wrote: > ...
6 years ago (2014-12-12 18:50:44 UTC) #6
Feng Qian
6 years ago (2014-12-12 19:07:32 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/796163003/diff/1/content/browser/child_proces...
File content/browser/child_process_launcher.cc (left):

https://codereview.chromium.org/796163003/diff/1/content/browser/child_proces...
content/browser/child_process_launcher.cc:192:
CHECK_NE(switches::kZygoteProcess, process_type);
On 2014/12/12 18:50:44, sievers wrote:
> On 2014/12/12 18:29:42, Feng Qian wrote:
> > Should we log the unknown process type on Java-side instead of 'assert
false'
> > there? If that happens, we will know what new process type is.
> 
> If we want to log we can do that here as well, i.e. 
>   CHECK(process_type == switches::kGpuProcess ||    process_type ==
> switches::kRendererProcess) << "Unsupported process type" << process_type;
> 
> Also note that the call stack here has the original process launch site.The
> latter task that has the java assert() is posted as a separate task.

Sounds good to me, can you add the process type to log here?

Powered by Google App Engine
This is Rietveld 408576698