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

Side by Side Diff: components/nacl/browser/nacl_broker_host_win.cc

Issue 1056633004: Update {virtual,override} to follow C++11 style in components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix logo tracker unittest. Created 5 years, 8 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
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 "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 "components/nacl/browser/nacl_broker_service_win.h" 9 #include "components/nacl/browser/nacl_broker_service_win.h"
10 #include "components/nacl/browser/nacl_browser.h" 10 #include "components/nacl/browser/nacl_browser.h"
11 #include "components/nacl/common/nacl_cmd_line.h" 11 #include "components/nacl/common/nacl_cmd_line.h"
12 #include "components/nacl/common/nacl_messages.h" 12 #include "components/nacl/common/nacl_messages.h"
13 #include "components/nacl/common/nacl_process_type.h" 13 #include "components/nacl/common/nacl_process_type.h"
14 #include "components/nacl/common/nacl_switches.h" 14 #include "components/nacl/common/nacl_switches.h"
15 #include "content/public/browser/browser_child_process_host.h" 15 #include "content/public/browser/browser_child_process_host.h"
16 #include "content/public/browser/child_process_data.h" 16 #include "content/public/browser/child_process_data.h"
17 #include "content/public/common/child_process_host.h" 17 #include "content/public/common/child_process_host.h"
18 #include "content/public/common/content_switches.h" 18 #include "content/public/common/content_switches.h"
19 #include "content/public/common/sandboxed_process_launcher_delegate.h" 19 #include "content/public/common/sandboxed_process_launcher_delegate.h"
20 #include "ipc/ipc_switches.h" 20 #include "ipc/ipc_switches.h"
21 21
22 namespace { 22 namespace {
23 // NOTE: changes to this class need to be reviewed by the security team. 23 // NOTE: changes to this class need to be reviewed by the security team.
24 class NaClBrokerSandboxedProcessLauncherDelegate 24 class NaClBrokerSandboxedProcessLauncherDelegate
25 : public content::SandboxedProcessLauncherDelegate { 25 : public content::SandboxedProcessLauncherDelegate {
26 public: 26 public:
27 NaClBrokerSandboxedProcessLauncherDelegate() {} 27 NaClBrokerSandboxedProcessLauncherDelegate() {}
28 virtual ~NaClBrokerSandboxedProcessLauncherDelegate() {} 28 ~NaClBrokerSandboxedProcessLauncherDelegate() override {}
29 29
30 virtual bool ShouldSandbox() override { 30 bool ShouldSandbox() override {
31 return false; 31 return false;
32 } 32 }
33 33
34 private: 34 private:
35 DISALLOW_COPY_AND_ASSIGN(NaClBrokerSandboxedProcessLauncherDelegate); 35 DISALLOW_COPY_AND_ASSIGN(NaClBrokerSandboxedProcessLauncherDelegate);
36 }; 36 };
37 } // namespace 37 } // namespace
38 38
39 namespace nacl { 39 namespace nacl {
40 40
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 NaClBrokerService::GetInstance()->OnDebugExceptionHandlerLaunched(pid, 110 NaClBrokerService::GetInstance()->OnDebugExceptionHandlerLaunched(pid,
111 success); 111 success);
112 } 112 }
113 113
114 void NaClBrokerHost::StopBroker() { 114 void NaClBrokerHost::StopBroker() {
115 is_terminating_ = true; 115 is_terminating_ = true;
116 process_->Send(new NaClProcessMsg_StopBroker()); 116 process_->Send(new NaClProcessMsg_StopBroker());
117 } 117 }
118 118
119 } // namespace nacl 119 } // namespace nacl
OLDNEW
« no previous file with comments | « components/nacl/broker/nacl_broker_listener.h ('k') | components/nacl/common/nacl_debug_exception_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698