| OLD | NEW |
| 1 // Copyright (c) 2010 Google Inc. | 1 // Copyright (c) 2010 Google Inc. |
| 2 // All rights reserved. | 2 // All rights reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
| 9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
| 10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 // module.cc: Implement google_breakpad::Module. See module.h. | 32 // module.cc: Implement google_breakpad::Module. See module.h. |
| 33 | 33 |
| 34 #include "common/module.h" | 34 #include "common/module.h" |
| 35 | 35 |
| 36 #include <assert.h> | 36 #include <assert.h> |
| 37 #include <errno.h> | 37 #include <errno.h> |
| 38 #include <stdio.h> | 38 #include <stdio.h> |
| 39 #include <string.h> | 39 #include <string.h> |
| 40 | 40 |
| 41 #include <iostream> | 41 #include <ostream> |
| 42 | 42 |
| 43 namespace google_breakpad { | 43 namespace google_breakpad { |
| 44 | 44 |
| 45 using std::dec; | 45 using std::dec; |
| 46 using std::endl; | 46 using std::endl; |
| 47 using std::hex; | 47 using std::hex; |
| 48 | 48 |
| 49 | 49 |
| 50 Module::Module(const string &name, const string &os, | 50 Module::Module(const string &name, const string &os, |
| 51 const string &architecture, const string &id) : | 51 const string &architecture, const string &id) : |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 | 282 |
| 283 stream << endl; | 283 stream << endl; |
| 284 } | 284 } |
| 285 } | 285 } |
| 286 #endif | 286 #endif |
| 287 | 287 |
| 288 return true; | 288 return true; |
| 289 } | 289 } |
| 290 | 290 |
| 291 } // namespace google_breakpad | 291 } // namespace google_breakpad |
| OLD | NEW |