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

Side by Side Diff: snapshot/minidump/process_snapshot_minidump.h

Issue 1407643004: Some plumbing for the beginning of getting handles into snapshot/minidump (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@handles-redux
Patch Set: . Created 5 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 | « snapshot/handle_snapshot.cc ('k') | snapshot/minidump/process_snapshot_minidump.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 2015 The Crashpad Authors. All rights reserved. 1 // Copyright 2015 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void ProcessCPUTimes(timeval* user_time, timeval* system_time) const override; 63 void ProcessCPUTimes(timeval* user_time, timeval* system_time) const override;
64 void ReportID(UUID* report_id) const override; 64 void ReportID(UUID* report_id) const override;
65 void ClientID(UUID* client_id) const override; 65 void ClientID(UUID* client_id) const override;
66 const std::map<std::string, std::string>& AnnotationsSimpleMap() 66 const std::map<std::string, std::string>& AnnotationsSimpleMap()
67 const override; 67 const override;
68 const SystemSnapshot* System() const override; 68 const SystemSnapshot* System() const override;
69 std::vector<const ThreadSnapshot*> Threads() const override; 69 std::vector<const ThreadSnapshot*> Threads() const override;
70 std::vector<const ModuleSnapshot*> Modules() const override; 70 std::vector<const ModuleSnapshot*> Modules() const override;
71 const ExceptionSnapshot* Exception() const override; 71 const ExceptionSnapshot* Exception() const override;
72 std::vector<const MemoryMapRegionSnapshot*> MemoryMap() const override; 72 std::vector<const MemoryMapRegionSnapshot*> MemoryMap() const override;
73 std::vector<HandleSnapshot> Handles() const override;
73 std::vector<const MemorySnapshot*> ExtraMemory() const override; 74 std::vector<const MemorySnapshot*> ExtraMemory() const override;
74 75
75 private: 76 private:
76 // Initializes data carried in a MinidumpCrashpadInfo stream on behalf of 77 // Initializes data carried in a MinidumpCrashpadInfo stream on behalf of
77 // Initialize(). 78 // Initialize().
78 bool InitializeCrashpadInfo(); 79 bool InitializeCrashpadInfo();
79 80
80 // Initializes data carried in a MINIDUMP_MODULE_LIST stream on behalf of 81 // Initializes data carried in a MINIDUMP_MODULE_LIST stream on behalf of
81 // Initialize(). 82 // Initialize().
82 bool InitializeModules(); 83 bool InitializeModules();
(...skipping 13 matching lines...) Expand all
96 std::map<std::string, std::string> annotations_simple_map_; 97 std::map<std::string, std::string> annotations_simple_map_;
97 FileReaderInterface* file_reader_; // weak 98 FileReaderInterface* file_reader_; // weak
98 InitializationStateDcheck initialized_; 99 InitializationStateDcheck initialized_;
99 100
100 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMinidump); 101 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMinidump);
101 }; 102 };
102 103
103 } // namespace crashpad 104 } // namespace crashpad
104 105
105 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ 106 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_
OLDNEW
« no previous file with comments | « snapshot/handle_snapshot.cc ('k') | snapshot/minidump/process_snapshot_minidump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698