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

Side by Side Diff: chrome/browser/gpu_process_host.cc

Issue 5172009: This adds some plumbing for propagating the reason for a renderer's death (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/browser/gpu_process_host.h" 5 #include "chrome/browser/gpu_process_host.h"
6 6
7 #include "app/app_switches.h" 7 #include "app/app_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/thread.h" 9 #include "base/thread.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 URLRequestContext* GpuProcessHost::GetRequestContext( 372 URLRequestContext* GpuProcessHost::GetRequestContext(
373 uint32 request_id, 373 uint32 request_id,
374 const ViewHostMsg_Resource_Request& request_data) { 374 const ViewHostMsg_Resource_Request& request_data) {
375 return NULL; 375 return NULL;
376 } 376 }
377 377
378 bool GpuProcessHost::CanShutdown() { 378 bool GpuProcessHost::CanShutdown() {
379 return true; 379 return true;
380 } 380 }
381 381
382 void GpuProcessHost::OnProcessCrashed() { 382 void GpuProcessHost::OnProcessCrashed(int exit_code) {
383 // TODO(alokp): Update gpu process crash rate. 383 // TODO(alokp): Update gpu process crash rate.
384 BrowserChildProcessHost::OnProcessCrashed(); 384 BrowserChildProcessHost::OnProcessCrashed(exit_code);
385 } 385 }
386
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698