| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "android_webview/browser/aw_browser_terminator.h" | 5 #include "android_webview/browser/aw_browser_terminator.h" |
| 6 | 6 |
| 7 #include <unistd.h> | 7 #include <unistd.h> |
| 8 | 8 |
| 9 #include "android_webview/browser/aw_browser_process.h" | 9 #include "android_webview/browser/aw_browser_process.h" |
| 10 #include "android_webview/browser/aw_render_process_gone_delegate.h" | 10 #include "android_webview/browser/aw_render_process_gone_delegate.h" |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 if (termination_status == base::TERMINATION_STATUS_NORMAL_TERMINATION) | 161 if (termination_status == base::TERMINATION_STATUS_NORMAL_TERMINATION) |
| 162 return; | 162 return; |
| 163 OnRenderProcessGone(child_process_id); | 163 OnRenderProcessGone(child_process_id); |
| 164 DCHECK(pipe->handle() != base::SyncSocket::kInvalidHandle); | 164 DCHECK(pipe->handle() != base::SyncSocket::kInvalidHandle); |
| 165 BrowserThread::PostTask( | 165 BrowserThread::PostTask( |
| 166 BrowserThread::FILE, FROM_HERE, | 166 BrowserThread::FILE, FROM_HERE, |
| 167 base::Bind(&AwBrowserTerminator::ProcessTerminationStatus, | 167 base::Bind(&AwBrowserTerminator::ProcessTerminationStatus, |
| 168 child_process_id, pid, base::Passed(std::move(pipe)))); | 168 child_process_id, pid, base::Passed(std::move(pipe)))); |
| 169 } | 169 } |
| 170 | 170 |
| 171 } // namespace breakpad | 171 } // namespace android_webview |
| OLD | NEW |