diff options
Diffstat (limited to 'src/client/mac/sender/uploader.h')
-rw-r--r-- | src/client/mac/sender/uploader.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client/mac/sender/uploader.h b/src/client/mac/sender/uploader.h index 318165c9..5f6aa464 100644 --- a/src/client/mac/sender/uploader.h +++ b/src/client/mac/sender/uploader.h @@ -67,6 +67,10 @@ extern NSString *const kDefaultServerType; - (id)initWithConfig:(NSDictionary *)config; +// Reads the file |configFile| and returns the corresponding NSDictionary. +// |configFile| will be deleted after reading. ++ (NSDictionary *)readConfigurationDataFromFile:(NSString *)configFile; + - (NSMutableDictionary *)parameters; - (void)report; @@ -78,4 +82,8 @@ extern NSString *const kDefaultServerType; // will be uploaded to the crash server. - (void)addServerParameter:(id)value forKey:(NSString *)key; +// This method process the HTTP response and renames the minidump file with the +// new ID. +- (void)handleNetworkResponse:(NSData *)data withError:(NSError *)error; + @end |