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

Unified Diff: snapshot/handle_snapshot.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « snapshot/handle_snapshot.h ('k') | snapshot/minidump/process_snapshot_minidump.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot/handle_snapshot.cc
diff --git a/util/thread/thread.cc b/snapshot/handle_snapshot.cc
similarity index 73%
copy from util/thread/thread.cc
copy to snapshot/handle_snapshot.cc
index 04782bb797895566aeba80e901f086f8bbdb2360..331b6b35602ada9c9f982adfaee7c473ab8c3534 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(0),
+ attributes(0),
+ granted_access(0),
+ pointer_count(0),
+ handle_count(0) {
}
-Thread::~Thread() {
- DCHECK(!platform_thread_);
+HandleSnapshot::~HandleSnapshot() {
}
} // namespace crashpad
« no previous file with comments | « snapshot/handle_snapshot.h ('k') | snapshot/minidump/process_snapshot_minidump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698