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

Unified Diff: content/public/common/sandbox_type_mac.h

Issue 1185333003: Implement GetSandboxType() on all platforms and implement for all process types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: keep rebasing keep rebasing... Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/sandbox_type.h ('k') | content/public/common/sandboxed_process_launcher_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/sandbox_type_mac.h
diff --git a/content/public/common/sandbox_type_mac.h b/content/public/common/sandbox_type_mac.h
deleted file mode 100644
index 6f8a6f0e11f78448746bd6d97f3198b76f2570f5..0000000000000000000000000000000000000000
--- a/content/public/common/sandbox_type_mac.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2012 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_PUBLIC_COMMON_SANDBOX_TYPE_MAC_H_
-#define CONTENT_PUBLIC_COMMON_SANDBOX_TYPE_MAC_H_
-
-namespace content {
-
-// Defines the Mac sandbox types known within content. Embedders can add
-// additional sandbox types with IDs starting with SANDBOX_TYPE_AFTER_LAST_TYPE.
-
-enum SandboxType {
- // Not a valid sandbox type.
- SANDBOX_TYPE_INVALID = -1,
-
- SANDBOX_TYPE_FIRST_TYPE = 0, // Placeholder to ease iteration.
-
- SANDBOX_TYPE_RENDERER = SANDBOX_TYPE_FIRST_TYPE,
-
- // Utility process is as restrictive as the worker process except full
- // access is allowed to one configurable directory.
- SANDBOX_TYPE_UTILITY,
-
- // GPU process.
- SANDBOX_TYPE_GPU,
-
- // The PPAPI plugin process.
- SANDBOX_TYPE_PPAPI,
-
- SANDBOX_TYPE_AFTER_LAST_TYPE, // Placeholder to ease iteration.
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_COMMON_SANDBOX_TYPE_MAC_H_
« no previous file with comments | « content/public/common/sandbox_type.h ('k') | content/public/common/sandboxed_process_launcher_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698