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

Side by Side Diff: chrome/tools/crash_service/crash_service.cc

Issue 8595014: Update breakpad to rev: 886. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove whitespace Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/tools/crash_service/crash_service.h ('k') | 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/tools/crash_service/crash_service.h" 5 #include "chrome/tools/crash_service/crash_service.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include <fstream> 9 #include <fstream>
10 #include <map> 10 #include <map>
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 // a new client before exiting for real. 335 // a new client before exiting for real.
336 if (self->clients_connected_ == self->clients_terminated_) { 336 if (self->clients_connected_ == self->clients_terminated_) {
337 VLOG(1) << "zero clients. exiting"; 337 VLOG(1) << "zero clients. exiting";
338 ::PostMessage(g_top_window, WM_CLOSE, 0, 0); 338 ::PostMessage(g_top_window, WM_CLOSE, 0, 0);
339 } 339 }
340 } 340 }
341 } 341 }
342 342
343 void CrashService::OnClientDumpRequest(void* context, 343 void CrashService::OnClientDumpRequest(void* context,
344 const google_breakpad::ClientInfo* client_info, 344 const google_breakpad::ClientInfo* client_info,
345 const google_breakpad::CrashGenerationServer::ClientDumpRequestType
346 request_type,
345 const std::wstring* file_path) { 347 const std::wstring* file_path) {
346 ProcessingLock lock; 348 ProcessingLock lock;
347 349
348 if (!file_path) { 350 if (!file_path) {
349 LOG(ERROR) << "dump with no file path"; 351 LOG(ERROR) << "dump with no file path";
350 return; 352 return;
351 } 353 }
352 if (!client_info) { 354 if (!client_info) {
353 LOG(ERROR) << "dump with no client info"; 355 LOG(ERROR) << "dump with no client info";
354 return; 356 return;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 SDDL_REVISION, 486 SDDL_REVISION,
485 &sec_desc, NULL)) { 487 &sec_desc, NULL)) {
486 if (::GetSecurityDescriptorSacl(sec_desc, &sacl_present, &sacl, 488 if (::GetSecurityDescriptorSacl(sec_desc, &sacl_present, &sacl,
487 &sacl_defaulted)) { 489 &sacl_defaulted)) {
488 return sec_desc; 490 return sec_desc;
489 } 491 }
490 } 492 }
491 493
492 return NULL; 494 return NULL;
493 } 495 }
OLDNEW
« no previous file with comments | « chrome/tools/crash_service/crash_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698