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

Unified Diff: minidump/minidump_stream_writer.cc

Issue 674153002: minidump: Change the ownership model (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Address review feedback 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « minidump/minidump_stream_writer.h ('k') | minidump/minidump_string_writer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: minidump/minidump_stream_writer.cc
diff --git a/minidump/minidump_stream_writer.cc b/minidump/minidump_stream_writer.cc
index f0367066591fbf37085616d1ab9029894834808e..8e5dcb30b85e8544ba675006d26ea6de33757896 100644
--- a/minidump/minidump_stream_writer.cc
+++ b/minidump/minidump_stream_writer.cc
@@ -19,6 +19,15 @@
namespace crashpad {
namespace internal {
+MinidumpStreamWriter::~MinidumpStreamWriter() {
+}
+
+const MINIDUMP_DIRECTORY* MinidumpStreamWriter::DirectoryListEntry() const {
+ DCHECK_EQ(state(), kStateWritable);
+
+ return &directory_list_entry_;
+}
+
MinidumpStreamWriter::MinidumpStreamWriter()
: MinidumpWritable(), directory_list_entry_() {
}
@@ -36,11 +45,5 @@ bool MinidumpStreamWriter::Freeze() {
return true;
}
-const MINIDUMP_DIRECTORY* MinidumpStreamWriter::DirectoryListEntry() const {
- DCHECK_EQ(state(), kStateWritable);
-
- return &directory_list_entry_;
-}
-
} // namespace internal
} // namespace crashpad
« no previous file with comments | « minidump/minidump_stream_writer.h ('k') | minidump/minidump_string_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698