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_broker_host_win.h" | 5 #include "components/nacl/browser/nacl_broker_host_win.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/path_service.h" | |
10 #include "components/nacl/browser/nacl_broker_service_win.h" | 9 #include "components/nacl/browser/nacl_broker_service_win.h" |
11 #include "components/nacl/browser/nacl_browser.h" | 10 #include "components/nacl/browser/nacl_browser.h" |
12 #include "components/nacl/common/nacl_cmd_line.h" | 11 #include "components/nacl/common/nacl_cmd_line.h" |
13 #include "components/nacl/common/nacl_messages.h" | 12 #include "components/nacl/common/nacl_messages.h" |
14 #include "components/nacl/common/nacl_process_type.h" | 13 #include "components/nacl/common/nacl_process_type.h" |
15 #include "components/nacl/common/nacl_switches.h" | 14 #include "components/nacl/common/nacl_switches.h" |
16 #include "content/public/browser/browser_child_process_host.h" | 15 #include "content/public/browser/browser_child_process_host.h" |
17 #include "content/public/browser/child_process_data.h" | 16 #include "content/public/browser/child_process_data.h" |
18 #include "content/public/common/child_process_host.h" | 17 #include "content/public/common/child_process_host.h" |
19 #include "content/public/common/content_switches.h" | 18 #include "content/public/common/content_switches.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 NaClBrokerService::GetInstance()->OnDebugExceptionHandlerLaunched(pid, | 109 NaClBrokerService::GetInstance()->OnDebugExceptionHandlerLaunched(pid, |
111 success); | 110 success); |
112 } | 111 } |
113 | 112 |
114 void NaClBrokerHost::StopBroker() { | 113 void NaClBrokerHost::StopBroker() { |
115 is_terminating_ = true; | 114 is_terminating_ = true; |
116 process_->Send(new NaClProcessMsg_StopBroker()); | 115 process_->Send(new NaClProcessMsg_StopBroker()); |
117 } | 116 } |
118 | 117 |
119 } // namespace nacl | 118 } // namespace nacl |
OLD | NEW |