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

Side by Side Diff: snapshot/mac/process_snapshot_mac.cc

Issue 1095403002: Fix typo in ProcessSnapshotMac::ParentProcessID (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 *options = local_options; 115 *options = local_options;
116 } 116 }
117 117
118 pid_t ProcessSnapshotMac::ProcessID() const { 118 pid_t ProcessSnapshotMac::ProcessID() const {
119 INITIALIZATION_STATE_DCHECK_VALID(initialized_); 119 INITIALIZATION_STATE_DCHECK_VALID(initialized_);
120 return process_reader_.ProcessID(); 120 return process_reader_.ProcessID();
121 } 121 }
122 122
123 pid_t ProcessSnapshotMac::ParentProcessID() const { 123 pid_t ProcessSnapshotMac::ParentProcessID() const {
124 INITIALIZATION_STATE_DCHECK_VALID(initialized_); 124 INITIALIZATION_STATE_DCHECK_VALID(initialized_);
125 return process_reader_.ProcessID(); 125 return process_reader_.ParentProcessID();
126 } 126 }
127 127
128 void ProcessSnapshotMac::SnapshotTime(timeval* snapshot_time) const { 128 void ProcessSnapshotMac::SnapshotTime(timeval* snapshot_time) const {
129 INITIALIZATION_STATE_DCHECK_VALID(initialized_); 129 INITIALIZATION_STATE_DCHECK_VALID(initialized_);
130 *snapshot_time = snapshot_time_; 130 *snapshot_time = snapshot_time_;
131 } 131 }
132 132
133 void ProcessSnapshotMac::ProcessStartTime(timeval* start_time) const { 133 void ProcessSnapshotMac::ProcessStartTime(timeval* start_time) const {
134 INITIALIZATION_STATE_DCHECK_VALID(initialized_); 134 INITIALIZATION_STATE_DCHECK_VALID(initialized_);
135 process_reader_.StartTime(start_time); 135 process_reader_.StartTime(start_time);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 for (const ProcessReader::Module& process_reader_module : 203 for (const ProcessReader::Module& process_reader_module :
204 process_reader_modules) { 204 process_reader_modules) {
205 auto module = make_scoped_ptr(new internal::ModuleSnapshotMac()); 205 auto module = make_scoped_ptr(new internal::ModuleSnapshotMac());
206 if (module->Initialize(&process_reader_, process_reader_module)) { 206 if (module->Initialize(&process_reader_, process_reader_module)) {
207 modules_.push_back(module.release()); 207 modules_.push_back(module.release());
208 } 208 }
209 } 209 }
210 } 210 }
211 211
212 } // namespace crashpad 212 } // namespace crashpad
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698