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

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

Issue 1377133006: Mostly-boilerplate to add MemoryMapSnapshot (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@memory-info-to-misc
Patch Set: fixes 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/memory_map_region_snapshot.h ('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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 void ProcessStartTime(timeval* start_time) const override; 62 void ProcessStartTime(timeval* start_time) const override;
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 MemorySnapshot*> ExtraMemory() const override; 73 std::vector<const MemorySnapshot*> ExtraMemory() const override;
73 74
74 private: 75 private:
75 // Initializes data carried in a MinidumpCrashpadInfo stream on behalf of 76 // Initializes data carried in a MinidumpCrashpadInfo stream on behalf of
76 // Initialize(). 77 // Initialize().
77 bool InitializeCrashpadInfo(); 78 bool InitializeCrashpadInfo();
78 79
79 // Initializes data carried in a MINIDUMP_MODULE_LIST stream on behalf of 80 // Initializes data carried in a MINIDUMP_MODULE_LIST stream on behalf of
80 // Initialize(). 81 // Initialize().
81 bool InitializeModules(); 82 bool InitializeModules();
(...skipping 13 matching lines...) Expand all
95 std::map<std::string, std::string> annotations_simple_map_; 96 std::map<std::string, std::string> annotations_simple_map_;
96 FileReaderInterface* file_reader_; // weak 97 FileReaderInterface* file_reader_; // weak
97 InitializationStateDcheck initialized_; 98 InitializationStateDcheck initialized_;
98 99
99 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMinidump); 100 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMinidump);
100 }; 101 };
101 102
102 } // namespace crashpad 103 } // namespace crashpad
103 104
104 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ 105 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_
OLDNEW
« no previous file with comments | « snapshot/memory_map_region_snapshot.h ('k') | snapshot/minidump/process_snapshot_minidump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698