diff options
author | mnaganov <mnaganov@chromium.org> | 2016-01-07 18:49:31 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-08 02:50:44 +0000 |
commit | f322c8fea0852d346caba09574a6b0774721f7ca (patch) | |
tree | 151fedc478a7129378154c9acc45c4ffce78105d /android_webview/common | |
parent | f2d5a89de954b9d4372fa0ab7f44f65b3b5466ed (diff) | |
download | chromium_src-f322c8fea0852d346caba09574a6b0774721f7ca.zip chromium_src-f322c8fea0852d346caba09574a6b0774721f7ca.tar.gz chromium_src-f322c8fea0852d346caba09574a6b0774721f7ca.tar.bz2 |
Distinguish in the browser between renderer crashes and kills
Use a pipe between a browser and a renderer, where the renderer
writes something in case of a termination from a catchable
signal. In case when the renderer is killed by the low memory
killer, nothing gets written into the pipe.
The browser then terminates itself in a fashion similar
to the renderer.
BUG=546009
Review URL: https://codereview.chromium.org/1525023003
Cr-Commit-Position: refs/heads/master@{#368251}
Diffstat (limited to 'android_webview/common')
-rw-r--r-- | android_webview/common/aw_descriptors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android_webview/common/aw_descriptors.h b/android_webview/common/aw_descriptors.h index 1b2a12b..a3f22af 100644 --- a/android_webview/common/aw_descriptors.h +++ b/android_webview/common/aw_descriptors.h @@ -10,6 +10,7 @@ enum { kAndroidWebViewLocalePakDescriptor = kContentIPCDescriptorMax + 1, kAndroidWebViewMainPakDescriptor, + kAndroidWebViewCrashSignalDescriptor, }; #endif // ANDROID_WEBVIEW_COMMON_AW_DESCRIPTORS_H_ |