| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_CRASH_REPORT_CRASH_REPORT_MULTI_PARAMETER_H_ | 5 #ifndef IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_REPORT_MULTI_PARAMETER_H_ |
| 6 #define IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_REPORT_MULTI_PARAMETER_H_ | 6 #define IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_REPORT_MULTI_PARAMETER_H_ |
| 7 | 7 |
| 8 #include <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 | 9 |
| 10 // CrashReportMultiParameter keeps state of multiple report values that will be | 10 // CrashReportMultiParameter keeps state of multiple report values that will be |
| 11 // grouped in a single breakpad element to save limited number of breakpad | 11 // grouped in a single breakpad element to save limited number of breakpad |
| 12 // values. | 12 // values. |
| 13 @interface CrashReportMultiParameter : NSObject | 13 @interface CrashReportMultiParameter : NSObject |
| 14 // Init with the breakpad parameter key. | 14 // Init with the breakpad parameter key. |
| 15 - (instancetype)initWithKey:(NSString*)key NS_DESIGNATED_INITIALIZER; | 15 - (instancetype)initWithKey:(NSString*)key NS_DESIGNATED_INITIALIZER; |
| 16 | 16 |
| 17 - (instancetype)init NS_UNAVAILABLE; | 17 - (instancetype)init NS_UNAVAILABLE; |
| 18 | 18 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 // Increases the key element by one. | 30 // Increases the key element by one. |
| 31 - (void)incrementValue:(NSString*)key; | 31 - (void)incrementValue:(NSString*)key; |
| 32 | 32 |
| 33 // Decreases the key element by one. If the element is 0, the element is removed | 33 // Decreases the key element by one. If the element is 0, the element is removed |
| 34 // from the dictionary. | 34 // from the dictionary. |
| 35 - (void)decrementValue:(NSString*)key; | 35 - (void)decrementValue:(NSString*)key; |
| 36 @end | 36 @end |
| 37 | 37 |
| 38 #endif // IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_REPORT_MULTI_PARAMETER_H_ | 38 #endif // IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_REPORT_MULTI_PARAMETER_H_ |
| OLD | NEW |