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

Unified Diff: content/common/sandbox_util.h

Issue 12805004: Remove mention of the nacl process in content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/sandbox_policy.cc ('k') | content/common/sandbox_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_util.h
===================================================================
--- content/common/sandbox_util.h (revision 0)
+++ content/common/sandbox_util.h (revision 0)
@@ -0,0 +1,26 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_SANDBOX_UTIL_H_
+#define CONTENT_COMMON_SANDBOX_UTIL_H_
+
+#include "base/process.h"
+#include "ipc/ipc_platform_file.h"
+
+// This file contains cross-platform sandbox code internal to content.
+
+namespace content {
+
+// Platform neutral wrapper for making an exact copy of a handle for use in
+// the target process. On Windows this wraps BrokerDuplicateHandle() with the
+// DUPLICATE_SAME_ACCESS flag. On posix it behaves essentially the same as
+// IPC::GetFileHandleForProcess()
+IPC::PlatformFileForTransit BrokerGetFileHandleForProcess(
+ base::PlatformFile handle,
+ base::ProcessId target_process_id,
+ bool should_close_source);
+
+} // namespace content
+
+#endif // CONTENT_COMMON_SANDBOX_UTIL_H_
Property changes on: content\common\sandbox_util.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/common/sandbox_policy.cc ('k') | content/common/sandbox_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698