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

Side by Side Diff: minidump/minidump_exception_writer.h

Issue 654933002: Use exactly one of final, override, and virtual (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: git grep -E '^ {3,}.*override[ 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_context_writer.h ('k') | minidump/minidump_file_writer.h » ('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,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 //! 79 //!
80 //! \a exception_information must have no more than 80 //! \a exception_information must have no more than
81 //! #EXCEPTION_MAXIMUM_PARAMETERS elements. 81 //! #EXCEPTION_MAXIMUM_PARAMETERS elements.
82 //! 82 //!
83 //! \note Valid in #kStateMutable. 83 //! \note Valid in #kStateMutable.
84 void SetExceptionInformation( 84 void SetExceptionInformation(
85 const std::vector<uint64_t>& exception_information); 85 const std::vector<uint64_t>& exception_information);
86 86
87 protected: 87 protected:
88 // MinidumpWritable: 88 // MinidumpWritable:
89 virtual bool Freeze() override; 89 bool Freeze() override;
90 virtual size_t SizeOfObject() override; 90 size_t SizeOfObject() override;
91 virtual std::vector<MinidumpWritable*> Children() override; 91 std::vector<MinidumpWritable*> Children() override;
92 virtual bool WriteObject(FileWriterInterface* file_writer) override; 92 bool WriteObject(FileWriterInterface* file_writer) override;
93 93
94 // MinidumpStreamWriter: 94 // MinidumpStreamWriter:
95 virtual MinidumpStreamType StreamType() const override; 95 MinidumpStreamType StreamType() const override;
96 96
97 private: 97 private:
98 MINIDUMP_EXCEPTION_STREAM exception_; 98 MINIDUMP_EXCEPTION_STREAM exception_;
99 MinidumpContextWriter* context_; // weak 99 MinidumpContextWriter* context_; // weak
100 100
101 DISALLOW_COPY_AND_ASSIGN(MinidumpExceptionWriter); 101 DISALLOW_COPY_AND_ASSIGN(MinidumpExceptionWriter);
102 }; 102 };
103 103
104 } // namespace crashpad 104 } // namespace crashpad
105 105
106 #endif // CRASHPAD_MINIDUMP_MINIDUMP_EXCEPTION_WRITER_H_ 106 #endif // CRASHPAD_MINIDUMP_MINIDUMP_EXCEPTION_WRITER_H_
OLDNEW
« no previous file with comments | « minidump/minidump_context_writer.h ('k') | minidump/minidump_file_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698