Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / ios / chrome / app / safe_mode_crashing_modules_config.h
blobd918edcc213d7797b5d82c4450e91f2210ae8846
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
3 // found in the LICENSE file.
5 #ifndef IOS_CHROME_APP_SAFE_MODE_CRASHING_MODULES_CONFIG_H_
6 #define IOS_CHROME_APP_SAFE_MODE_CRASHING_MODULES_CONFIG_H_
8 #import <Foundation/Foundation.h>
10 #import "ios/chrome/browser/updatable_config/updatable_dictionary.h"
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.
15 @interface SafeModeCrashingModulesConfig : UpdatableDictionary
17 // Returns singleton object for this class.
18 + (SafeModeCrashingModulesConfig*)sharedInstance;
20 // Return friendly name of module if module is a known crasher.
21 - (NSString*)startupCrashModuleFriendlyName:(NSString*)modulePath;
23 @end
25 #endif // IOS_CHROME_APP_SAFE_MODE_CRASHING_MODULES_CONFIG_H_