Add base::TerminateBecauseOutOfMemory
commit06c8318ea6fe05cdbc7a1f75e136c6af32b5a494
authorvitalybuka <vitalybuka@chromium.org>
Fri, 27 Mar 2015 19:06:39 +0000 (27 12:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 27 Mar 2015 19:07:53 +0000 (27 19:07 +0000)
treed6fff152bcea00ac0552f6481ce5e9cbe5af56e8
parentf16a8246620a9494b5d38a45b8da72d51a305ec8
Add base::TerminateBecauseOutOfMemory

base::TerminateBecauseOutOfMemory will call base::::OnNoMemory which is classified by
breakpad server as OOM crash.
We have a lot of variations of crashes which are expected OOM crashes.
Combining them into one class of crashes helps to discard them triaging crashes.

BUG=429763,460995

Review URL: https://codereview.chromium.org/1039043002

Cr-Commit-Position: refs/heads/master@{#322621}
base/process/memory.cc
base/process/memory.h
content/child/child_discardable_shared_memory_manager.cc
content/child/child_shared_bitmap_manager.cc