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 "components/nacl/browser/nacl_process_host.h" | 5 #include "components/nacl/browser/nacl_process_host.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 #include <algorithm> | 8 #include <algorithm> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/base_switches.h" | 13 #include "base/base_switches.h" |
14 #include "base/bind.h" | 14 #include "base/bind.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/files/file_util.h" | 16 #include "base/files/file_util.h" |
17 #include "base/location.h" | 17 #include "base/location.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
| 19 #include "base/memory/ptr_util.h" |
19 #include "base/metrics/histogram_macros.h" | 20 #include "base/metrics/histogram_macros.h" |
20 #include "base/path_service.h" | 21 #include "base/path_service.h" |
21 #include "base/process/launch.h" | 22 #include "base/process/launch.h" |
22 #include "base/process/process_iterator.h" | 23 #include "base/process/process_iterator.h" |
23 #include "base/rand_util.h" | 24 #include "base/rand_util.h" |
24 #include "base/single_thread_task_runner.h" | 25 #include "base/single_thread_task_runner.h" |
25 #include "base/stl_util.h" | 26 #include "base/stl_util.h" |
26 #include "base/strings/string_number_conversions.h" | 27 #include "base/strings/string_number_conversions.h" |
27 #include "base/strings/string_split.h" | 28 #include "base/strings/string_split.h" |
28 #include "base/strings/string_util.h" | 29 #include "base/strings/string_util.h" |
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1164 NaClStartDebugExceptionHandlerThread( | 1165 NaClStartDebugExceptionHandlerThread( |
1165 std::move(process), info, base::ThreadTaskRunnerHandle::Get(), | 1166 std::move(process), info, base::ThreadTaskRunnerHandle::Get(), |
1166 base::Bind(&NaClProcessHost::OnDebugExceptionHandlerLaunchedByBroker, | 1167 base::Bind(&NaClProcessHost::OnDebugExceptionHandlerLaunchedByBroker, |
1167 weak_factory_.GetWeakPtr())); | 1168 weak_factory_.GetWeakPtr())); |
1168 return true; | 1169 return true; |
1169 } | 1170 } |
1170 } | 1171 } |
1171 #endif | 1172 #endif |
1172 | 1173 |
1173 } // namespace nacl | 1174 } // namespace nacl |
OLD | NEW |