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

Side by Side Diff: chrome/nacl/nacl_broker_listener.cc

Issue 8277018: Move content_switches to content\public\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/benchmarking_extension.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/nacl/nacl_broker_listener.h" 5 #include "chrome/nacl/nacl_broker_listener.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/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/process_util.h" 11 #include "base/process_util.h"
12 #include "chrome/common/nacl_cmd_line.h" 12 #include "chrome/common/nacl_cmd_line.h"
13 #include "chrome/common/nacl_messages.h" 13 #include "chrome/common/nacl_messages.h"
14 #include "content/common/content_switches.h"
15 #include "content/common/sandbox_policy.h" 14 #include "content/common/sandbox_policy.h"
15 #include "content/public/common/content_switches.h"
16 #include "ipc/ipc_switches.h" 16 #include "ipc/ipc_switches.h"
17 17
18 NaClBrokerListener::NaClBrokerListener() 18 NaClBrokerListener::NaClBrokerListener()
19 : browser_handle_(base::kNullProcessHandle) { 19 : browser_handle_(base::kNullProcessHandle) {
20 } 20 }
21 21
22 NaClBrokerListener::~NaClBrokerListener() { 22 NaClBrokerListener::~NaClBrokerListener() {
23 base::CloseProcessHandle(browser_handle_); 23 base::CloseProcessHandle(browser_handle_);
24 } 24 }
25 25
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 PROCESS_DUP_HANDLE | PROCESS_QUERY_INFORMATION , FALSE, 0); 81 PROCESS_DUP_HANDLE | PROCESS_QUERY_INFORMATION , FALSE, 0);
82 } 82 }
83 } 83 }
84 channel_->Send(new NaClProcessMsg_LoaderLaunched(loader_channel_id, 84 channel_->Send(new NaClProcessMsg_LoaderLaunched(loader_channel_id,
85 loader_handle_in_browser)); 85 loader_handle_in_browser));
86 } 86 }
87 87
88 void NaClBrokerListener::OnStopBroker() { 88 void NaClBrokerListener::OnStopBroker() {
89 MessageLoop::current()->Quit(); 89 MessageLoop::current()->Quit();
90 } 90 }
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698