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

Side by Side Diff: chrome/browser/nacl_host/nacl_broker_host_win.cc

Issue 16881004: Move chrome/nacl to components/nacl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create a zygote folder Created 7 years, 5 months 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
« no previous file with comments | « chrome/browser/nacl_host/DEPS ('k') | chrome/browser/nacl_host/nacl_process_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_broker_host_win.h" 5 #include "chrome/browser/nacl_host/nacl_broker_host_win.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "ipc/ipc_switches.h" 9 #include "ipc/ipc_switches.h"
10 #include "chrome/browser/nacl_host/nacl_broker_service_win.h" 10 #include "chrome/browser/nacl_host/nacl_broker_service_win.h"
11 #include "chrome/browser/nacl_host/nacl_browser.h" 11 #include "chrome/browser/nacl_host/nacl_browser.h"
12 #include "chrome/common/chrome_process_type.h" 12 #include "chrome/common/chrome_process_type.h"
13 #include "chrome/common/chrome_switches.h" 13 #include "chrome/common/chrome_switches.h"
14 #include "chrome/common/logging_chrome.h" 14 #include "chrome/common/logging_chrome.h"
15 #include "chrome/common/nacl_cmd_line.h" 15 #include "components/nacl/common/nacl_cmd_line.h"
16 #include "chrome/common/nacl_messages.h" 16 #include "components/nacl/common/nacl_messages.h"
17 #include "components/nacl/common/nacl_switches.h" 17 #include "components/nacl/common/nacl_switches.h"
18 #include "content/public/browser/browser_child_process_host.h" 18 #include "content/public/browser/browser_child_process_host.h"
19 #include "content/public/browser/child_process_data.h" 19 #include "content/public/browser/child_process_data.h"
20 #include "content/public/common/child_process_host.h" 20 #include "content/public/common/child_process_host.h"
21 #include "content/public/common/sandboxed_process_launcher_delegate.h" 21 #include "content/public/common/sandboxed_process_launcher_delegate.h"
22 22
23 namespace { 23 namespace {
24 // NOTE: changes to this class need to be reviewed by the security team. 24 // NOTE: changes to this class need to be reviewed by the security team.
25 class NaClBrokerSandboxedProcessLauncherDelegate 25 class NaClBrokerSandboxedProcessLauncherDelegate
26 : public content::SandboxedProcessLauncherDelegate { 26 : public content::SandboxedProcessLauncherDelegate {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 void NaClBrokerHost::OnDebugExceptionHandlerLaunched(int32 pid, bool success) { 106 void NaClBrokerHost::OnDebugExceptionHandlerLaunched(int32 pid, bool success) {
107 NaClBrokerService::GetInstance()->OnDebugExceptionHandlerLaunched(pid, 107 NaClBrokerService::GetInstance()->OnDebugExceptionHandlerLaunched(pid,
108 success); 108 success);
109 } 109 }
110 110
111 void NaClBrokerHost::StopBroker() { 111 void NaClBrokerHost::StopBroker() {
112 is_terminating_ = true; 112 is_terminating_ = true;
113 process_->Send(new NaClProcessMsg_StopBroker()); 113 process_->Send(new NaClProcessMsg_StopBroker());
114 } 114 }
OLDNEW
« no previous file with comments | « chrome/browser/nacl_host/DEPS ('k') | chrome/browser/nacl_host/nacl_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698