1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_SAD_TAB_TYPES_H_ 6 #define CHROME_BROWSER_UI_SAD_TAB_TYPES_H_ 7 8 namespace chrome { 9 10 // NOTE: Do not remove or reorder the elements in this enum, and only add new 11 // items at the end. We depend on these specific values in a histogram. 12 enum SadTabKind { 13 SAD_TAB_KIND_CRASHED = 0, // Tab crashed. Display the "Aw, Snap!" page. 14 SAD_TAB_KIND_KILLED // Tab killed. Display the "He's dead, Jim!" tab page. 15 }; 16 17 } // namespace chrome 18 19 #endif // CHROME_BROWSER_UI_SAD_TAB_TYPES_H_ 20