Chromium Code Reviews| Index: snapshot/handle_snapshot.cc |
| diff --git a/util/thread/thread.cc b/snapshot/handle_snapshot.cc |
| similarity index 74% |
| copy from util/thread/thread.cc |
| copy to snapshot/handle_snapshot.cc |
| index 04782bb797895566aeba80e901f086f8bbdb2360..3b0a0e03dbf8ce9daf0fed6872e1f0b34cf4a9c6 100644 |
| --- a/util/thread/thread.cc |
| +++ b/snapshot/handle_snapshot.cc |
| @@ -12,17 +12,20 @@ |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| -#include "util/thread/thread.h" |
| - |
| -#include "base/logging.h" |
| +#include "snapshot/handle_snapshot.h" |
| namespace crashpad { |
| -Thread::Thread() : platform_thread_(0) { |
| +HandleSnapshot::HandleSnapshot() |
| + : type_name(), |
| + handle(), |
|
Mark Mentovai
2015/10/14 23:55:13
0 for integer fields. Basically the same comments
scottmg
2015/10/16 20:51:02
Done.
|
| + attributes(), |
| + granted_access(), |
| + pointer_count(), |
| + handle_count() { |
| } |
| -Thread::~Thread() { |
| - DCHECK(!platform_thread_); |
| +HandleSnapshot::~HandleSnapshot() { |
| } |
| } // namespace crashpad |