summaryrefslogtreecommitdiffstats
path: root/android_webview/common
diff options
context:
space:
mode:
authormnaganov <mnaganov@chromium.org>2016-01-07 18:49:31 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-08 02:50:44 +0000
commitf322c8fea0852d346caba09574a6b0774721f7ca (patch)
tree151fedc478a7129378154c9acc45c4ffce78105d /android_webview/common
parentf2d5a89de954b9d4372fa0ab7f44f65b3b5466ed (diff)
downloadchromium_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.h1
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_