Switch mac DumpSymbols::WriteSymbolFile to take an ostream instead of a FILE* to match the changes to Module::Write

R=mark at http://breakpad.appspot.com/294001/show

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@818 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
ted.mielczarek
2011-07-26 14:03:09 +00:00
parent d01a9f8bc4
commit 48550041f9
3 changed files with 6 additions and 3 deletions

View File

@@ -40,6 +40,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <ostream>
#include <string>
#include <vector>
@@ -111,7 +112,7 @@ class DumpSymbols {
// Read the selected object file's debugging information, and write it
// out to |stream|. Return true on success; if an error occurs, report it
// and return false.
bool WriteSymbolFile(FILE *stream);
bool WriteSymbolFile(std::ostream &stream);
private:
// Used internally.