Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(607)

Side by Side Diff: minidump/minidump_stream_writer.h

Issue 883773005: win: Work towards getting 'minidump' to compile (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@crash-report-db-win
Patch Set: . Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2014 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and 12 // See the License for the specific language governing permissions and
13 // limitations under the License. 13 // limitations under the License.
14 14
15 #ifndef CRASHPAD_MINIDUMP_MINIDUMP_STREAM_WRITER_H_ 15 #ifndef CRASHPAD_MINIDUMP_MINIDUMP_STREAM_WRITER_H_
16 #define CRASHPAD_MINIDUMP_MINIDUMP_STREAM_WRITER_H_ 16 #define CRASHPAD_MINIDUMP_MINIDUMP_STREAM_WRITER_H_
17 17
18 #include "build/build_config.h"
19
20 #if defined(OS_WIN)
21 #include <windows.h>
22 #endif // OS_WIN
23
18 #include <dbghelp.h> 24 #include <dbghelp.h>
19 25
20 #include "base/basictypes.h" 26 #include "base/basictypes.h"
21 #include "minidump/minidump_extensions.h" 27 #include "minidump/minidump_extensions.h"
22 #include "minidump/minidump_writable.h" 28 #include "minidump/minidump_writable.h"
23 29
24 namespace crashpad { 30 namespace crashpad {
25 namespace internal { 31 namespace internal {
26 32
27 //! \brief The base class for all second-level objects (“streams”) in a minidump 33 //! \brief The base class for all second-level objects (“streams”) in a minidump
(...skipping 28 matching lines...) Expand all
56 private: 62 private:
57 MINIDUMP_DIRECTORY directory_list_entry_; 63 MINIDUMP_DIRECTORY directory_list_entry_;
58 64
59 DISALLOW_COPY_AND_ASSIGN(MinidumpStreamWriter); 65 DISALLOW_COPY_AND_ASSIGN(MinidumpStreamWriter);
60 }; 66 };
61 67
62 } // namespace internal 68 } // namespace internal
63 } // namespace crashpad 69 } // namespace crashpad
64 70
65 #endif // CRASHPAD_MINIDUMP_STREAM_WRITER_H_ 71 #endif // CRASHPAD_MINIDUMP_STREAM_WRITER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698