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/nacl_host/nacl_process_host.h" | 5 #include "chrome/browser/nacl_host/nacl_process_host.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/base_switches.h" | 11 #include "base/base_switches.h" |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/file_util.h" | 14 #include "base/file_util.h" |
15 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
16 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram.h" |
17 #include "base/path_service.h" | 17 #include "base/path_service.h" |
18 #include "base/process_util.h" | 18 #include "base/process/process_iterator.h" |
19 #include "base/strings/string_number_conversions.h" | 19 #include "base/strings/string_number_conversions.h" |
20 #include "base/strings/string_split.h" | 20 #include "base/strings/string_split.h" |
21 #include "base/strings/string_util.h" | 21 #include "base/strings/string_util.h" |
22 #include "base/strings/stringprintf.h" | 22 #include "base/strings/stringprintf.h" |
23 #include "base/strings/utf_string_conversions.h" | 23 #include "base/strings/utf_string_conversions.h" |
24 #include "base/win/windows_version.h" | 24 #include "base/win/windows_version.h" |
25 #include "build/build_config.h" | 25 #include "build/build_config.h" |
26 #include "chrome/browser/nacl_host/nacl_browser.h" | 26 #include "chrome/browser/nacl_host/nacl_browser.h" |
27 #include "chrome/browser/nacl_host/nacl_host_message_filter.h" | 27 #include "chrome/browser/nacl_host/nacl_host_message_filter.h" |
28 #include "components/nacl/common/nacl_browser_delegate.h" | 28 #include "components/nacl/common/nacl_browser_delegate.h" |
(...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 } else { | 929 } else { |
930 NaClStartDebugExceptionHandlerThread( | 930 NaClStartDebugExceptionHandlerThread( |
931 process_handle.Take(), info, | 931 process_handle.Take(), info, |
932 base::MessageLoopProxy::current(), | 932 base::MessageLoopProxy::current(), |
933 base::Bind(&NaClProcessHost::OnDebugExceptionHandlerLaunchedByBroker, | 933 base::Bind(&NaClProcessHost::OnDebugExceptionHandlerLaunchedByBroker, |
934 weak_factory_.GetWeakPtr())); | 934 weak_factory_.GetWeakPtr())); |
935 return true; | 935 return true; |
936 } | 936 } |
937 } | 937 } |
938 #endif | 938 #endif |
OLD | NEW |