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

Side by Side Diff: components/crash/content/app/crashpad.cc

Issue 2475863004: Make Crashpad start asynchronous, and move back to chrome_elf (Closed)
Patch Set: comment Created 4 years 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 | « components/crash/content/app/crashpad.h ('k') | components/crash/content/app/crashpad_win.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 Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/crash/content/app/crashpad.h" 5 #include "components/crash/content/app/crashpad.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 void __declspec(dllexport) __cdecl ClearCrashKeyValueImpl(const wchar_t* key) { 328 void __declspec(dllexport) __cdecl ClearCrashKeyValueImpl(const wchar_t* key) {
329 crash_reporter::ClearCrashKey(base::UTF16ToUTF8(key)); 329 crash_reporter::ClearCrashKey(base::UTF16ToUTF8(key));
330 } 330 }
331 331
332 // This helper is invoked by code in chrome.dll to request a single crash report 332 // This helper is invoked by code in chrome.dll to request a single crash report
333 // upload. See CrashUploadListCrashpad. 333 // upload. See CrashUploadListCrashpad.
334 void __declspec(dllexport) 334 void __declspec(dllexport)
335 RequestSingleCrashUploadImpl(const std::string& local_id) { 335 RequestSingleCrashUploadImpl(const std::string& local_id) {
336 crash_reporter::RequestSingleCrashUpload(local_id); 336 crash_reporter::RequestSingleCrashUpload(local_id);
337 } 337 }
338
339 // This helper is invoked by code in chrome.dll to wait for the handler start to
340 // complete.
341 void __declspec(dllexport) BlockUntilHandlerStartedImpl() {
342 crash_reporter::BlockUntilHandlerStarted();
343 }
344
338 } // extern "C" 345 } // extern "C"
339 346
340 #endif // OS_WIN 347 #endif // OS_WIN
OLDNEW
« no previous file with comments | « components/crash/content/app/crashpad.h ('k') | components/crash/content/app/crashpad_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698