OLD | NEW |
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 #ifndef IOS_CHROME_APP_SAFE_MODE_CRASHING_MODULES_CONFIG_H_ | 5 #ifndef IOS_CHROME_APP_SAFE_MODE_CRASHING_MODULES_CONFIG_H_ |
6 #define IOS_CHROME_APP_SAFE_MODE_CRASHING_MODULES_CONFIG_H_ | 6 #define IOS_CHROME_APP_SAFE_MODE_CRASHING_MODULES_CONFIG_H_ |
7 | 7 |
8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
9 | 9 |
10 #import "ios/chrome/browser/updatable_config/updatable_dictionary.h" | 10 // Class for configuration file singleton. This singleton object is created |
11 | 11 // when +sharedInstance is called for the first time and the default |
12 // Class for updatable configuration file singleton. This singleton object | |
13 // is created when +sharedInstance is called for the first time and the default | |
14 // configuration is loaded from a plist bundled into the application. | 12 // configuration is loaded from a plist bundled into the application. |
15 @interface SafeModeCrashingModulesConfig : UpdatableDictionary | 13 @interface SafeModeCrashingModulesConfig : NSObject |
16 | 14 |
17 // Returns singleton object for this class. | 15 // Returns singleton object for this class. |
18 + (SafeModeCrashingModulesConfig*)sharedInstance; | 16 + (SafeModeCrashingModulesConfig*)sharedInstance; |
19 | 17 |
20 // Return friendly name of module if module is a known crasher. | 18 // Return friendly name of module if module is a known crasher. |
21 - (NSString*)startupCrashModuleFriendlyName:(NSString*)modulePath; | 19 - (NSString*)startupCrashModuleFriendlyName:(NSString*)modulePath; |
22 | 20 |
23 @end | 21 @end |
24 | 22 |
25 #endif // IOS_CHROME_APP_SAFE_MODE_CRASHING_MODULES_CONFIG_H_ | 23 #endif // IOS_CHROME_APP_SAFE_MODE_CRASHING_MODULES_CONFIG_H_ |
OLD | NEW |