blob: 38814555a592f4a469ddebd2acc72b450f710a4f [file] [log] [blame]
[email protected]13155a22013-03-19 23:33:541// Copyright 2013 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/ui/sad_tab.h"
6
7namespace chrome {
8
9// static
10bool SadTab::ShouldShow(base::TerminationStatus status) {
11 return (status == base::TERMINATION_STATUS_ABNORMAL_TERMINATION ||
12 status == base::TERMINATION_STATUS_PROCESS_WAS_KILLED ||
13 status == base::TERMINATION_STATUS_PROCESS_CRASHED);
14}
15
16} // namespace chrome