Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: components/sad_tab/sad_tab.cc

Issue 543663002: Componentize sad_tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/ui/sad_tab.h" 5 #include "components/sad_tab/sad_tab.h"
6 6
7 namespace chrome { 7 namespace sad_tab {
8 8
9 // static 9 // static
10 bool SadTab::ShouldShow(base::TerminationStatus status) { 10 bool SadTab::ShouldShow(base::TerminationStatus status) {
11 return (status == base::TERMINATION_STATUS_ABNORMAL_TERMINATION || 11 return (status == base::TERMINATION_STATUS_ABNORMAL_TERMINATION ||
12 status == base::TERMINATION_STATUS_PROCESS_WAS_KILLED || 12 status == base::TERMINATION_STATUS_PROCESS_WAS_KILLED ||
13 status == base::TERMINATION_STATUS_PROCESS_CRASHED); 13 status == base::TERMINATION_STATUS_PROCESS_CRASHED);
14 } 14 }
15 15
16 } // namespace chrome 16 } // namespace sad_tab
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698