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

Side by Side Diff: content/common/sandbox_policy.cc

Issue 10512016: Get rid of internal content includes for sandbox code from chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: update deps! Created 8 years, 6 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 | « content/common/sandbox_policy.h ('k') | content/public/common/sandbox_init.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 "content/common/sandbox_policy.h" 5 #include "content/common/sandbox_policy.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/debugger.h" 10 #include "base/debug/debugger.h"
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 desired_access, FALSE, options); 837 desired_access, FALSE, options);
838 } 838 }
839 839
840 return false; 840 return false;
841 } 841 }
842 842
843 bool BrokerAddTargetPeer(HANDLE peer_process) { 843 bool BrokerAddTargetPeer(HANDLE peer_process) {
844 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK; 844 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK;
845 } 845 }
846 846
847 base::ProcessHandle StartProcessWithAccess(
848 CommandLine* cmd_line,
849 const FilePath& exposed_dir) {
850 return sandbox::StartProcessWithAccess(cmd_line, exposed_dir);
851 }
852
847 } // namespace content 853 } // namespace content
OLDNEW
« no previous file with comments | « content/common/sandbox_policy.h ('k') | content/public/common/sandbox_init.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698