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 23 matching lines...) Expand all Loading... |
34 #include "google_breakpad/processor/dump_context.h" | 34 #include "google_breakpad/processor/dump_context.h" |
35 | 35 |
36 #include <assert.h> | 36 #include <assert.h> |
37 | 37 |
38 #ifdef _WIN32 | 38 #ifdef _WIN32 |
39 #include <io.h> | 39 #include <io.h> |
40 #else // _WIN32 | 40 #else // _WIN32 |
41 #include <unistd.h> | 41 #include <unistd.h> |
42 #endif // _WIN32 | 42 #endif // _WIN32 |
43 | 43 |
44 #include "common/stdio.h" | 44 #include "common/stdio_wrapper.h" |
45 #include "processor/logging.h" | 45 #include "processor/logging.h" |
46 | 46 |
47 namespace google_breakpad { | 47 namespace google_breakpad { |
48 | 48 |
49 DumpContext::DumpContext() : context_(), | 49 DumpContext::DumpContext() : context_(), |
50 context_flags_(0) { } | 50 context_flags_(0) { } |
51 | 51 |
52 DumpContext::~DumpContext() { | 52 DumpContext::~DumpContext() { |
53 FreeContext(); | 53 FreeContext(); |
54 } | 54 } |
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 break; | 650 break; |
651 } | 651 } |
652 | 652 |
653 default: { | 653 default: { |
654 break; | 654 break; |
655 } | 655 } |
656 } | 656 } |
657 } | 657 } |
658 | 658 |
659 } // namespace google_breakpad | 659 } // namespace google_breakpad |
OLD | NEW |