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

Side by Side Diff: minidump/minidump_system_info_writer.h

Issue 679443002: minidump: Use forward declarations in more places (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Update Created 6 years, 2 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
« no previous file with comments | « minidump/minidump_string_writer_test.cc ('k') | minidump/minidump_system_info_writer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SYSTEM_INFO_WRITER_H_ 15 #ifndef CRASHPAD_MINIDUMP_MINIDUMP_SYSTEM_INFO_WRITER_H_
16 #define CRASHPAD_MINIDUMP_MINIDUMP_SYSTEM_INFO_WRITER_H_ 16 #define CRASHPAD_MINIDUMP_MINIDUMP_SYSTEM_INFO_WRITER_H_
17 17
18 #include <dbghelp.h> 18 #include <dbghelp.h>
19 #include <stdint.h> 19 #include <stdint.h>
20 #include <sys/types.h>
21 20
22 #include <string> 21 #include <string>
23 #include <vector> 22 #include <vector>
24 23
25 #include "base/basictypes.h" 24 #include "base/basictypes.h"
26 #include "base/memory/scoped_ptr.h" 25 #include "base/memory/scoped_ptr.h"
27 #include "minidump/minidump_extensions.h" 26 #include "minidump/minidump_extensions.h"
28 #include "minidump/minidump_stream_writer.h" 27 #include "minidump/minidump_stream_writer.h"
29 #include "minidump/minidump_writable.h" 28 #include "minidump/minidump_writable.h"
30 #include "util/file/file_writer.h"
31 29
32 namespace crashpad { 30 namespace crashpad {
33 31
34 namespace internal { 32 namespace internal {
35 class MinidumpUTF16StringWriter; 33 class MinidumpUTF16StringWriter;
36 } // namespace internal 34 } // namespace internal
37 35
38 //! \brief The writer for a MINIDUMP_SYSTEM_INFO stream in a minidump file. 36 //! \brief The writer for a MINIDUMP_SYSTEM_INFO stream in a minidump file.
39 class MinidumpSystemInfoWriter final : public internal::MinidumpStreamWriter { 37 class MinidumpSystemInfoWriter final : public internal::MinidumpStreamWriter {
40 public: 38 public:
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 private: 175 private:
178 MINIDUMP_SYSTEM_INFO system_info_; 176 MINIDUMP_SYSTEM_INFO system_info_;
179 scoped_ptr<internal::MinidumpUTF16StringWriter> csd_version_; 177 scoped_ptr<internal::MinidumpUTF16StringWriter> csd_version_;
180 178
181 DISALLOW_COPY_AND_ASSIGN(MinidumpSystemInfoWriter); 179 DISALLOW_COPY_AND_ASSIGN(MinidumpSystemInfoWriter);
182 }; 180 };
183 181
184 } // namespace crashpad 182 } // namespace crashpad
185 183
186 #endif // CRASHPAD_MINIDUMP_MINIDUMP_SYSTEM_INFO_WRITER_H_ 184 #endif // CRASHPAD_MINIDUMP_MINIDUMP_SYSTEM_INFO_WRITER_H_
OLDNEW
« no previous file with comments | « minidump/minidump_string_writer_test.cc ('k') | minidump/minidump_system_info_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698