OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/crash_handler_host_linux.h" | 5 #include "chrome/browser/crash_handler_host_linux.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 #include <stdlib.h> | 8 #include <stdlib.h> |
9 #include <sys/socket.h> | 9 #include <sys/socket.h> |
10 #include <sys/syscall.h> | 10 #include <sys/syscall.h> |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 } | 475 } |
476 | 476 |
477 void RendererCrashHandlerHostLinux::SetProcessType() { | 477 void RendererCrashHandlerHostLinux::SetProcessType() { |
478 process_type_ = "renderer"; | 478 process_type_ = "renderer"; |
479 } | 479 } |
480 | 480 |
481 // static | 481 // static |
482 RendererCrashHandlerHostLinux* RendererCrashHandlerHostLinux::GetInstance() { | 482 RendererCrashHandlerHostLinux* RendererCrashHandlerHostLinux::GetInstance() { |
483 return Singleton<RendererCrashHandlerHostLinux>::get(); | 483 return Singleton<RendererCrashHandlerHostLinux>::get(); |
484 } | 484 } |
OLD | NEW |