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

Unified Diff: content/public/browser/content_browser_client.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: do not call base class from chrome's contentbrowserclient 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
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index acd568b8229eca7b029c32f74dc3576161eb8121..878a857ce80d83bea55dd11058872aec7b8af3db 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -634,6 +634,12 @@ class CONTENT_EXPORT ContentBrowserClient {
// policy.
virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy,
bool* success) {}
+
+ // Returns the App Container SID for the specified sandboxed process type, or
+ // empty string if this sandboxed process type does not support living inside
+ // an App Container.
+ virtual base::string16 GetAppContainerSidForSandboxType(
+ int sandbox_type) const;
#endif
#if defined(VIDEO_HOLE)

Powered by Google App Engine
This is Rietveld 408576698