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

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 2411483002: Enable win32k lockdown for ppapi processes. (Closed)
Patch Set: readd entry Created 4 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
« no previous file with comments | « content/common/sandbox_win.cc ('k') | content/public/browser/content_browser_client.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) 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 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 // This is called on the PROCESS_LAUNCHER thread before the renderer process 777 // This is called on the PROCESS_LAUNCHER thread before the renderer process
778 // is launched. It gives the embedder a chance to add loosen the sandbox 778 // is launched. It gives the embedder a chance to add loosen the sandbox
779 // policy. 779 // policy.
780 virtual bool PreSpawnRenderer(sandbox::TargetPolicy* policy); 780 virtual bool PreSpawnRenderer(sandbox::TargetPolicy* policy);
781 781
782 // Returns the AppContainer SID for the specified sandboxed process type, or 782 // Returns the AppContainer SID for the specified sandboxed process type, or
783 // empty string if this sandboxed process type does not support living inside 783 // empty string if this sandboxed process type does not support living inside
784 // an AppContainer. 784 // an AppContainer.
785 virtual base::string16 GetAppContainerSidForSandboxType( 785 virtual base::string16 GetAppContainerSidForSandboxType(
786 int sandbox_type) const; 786 int sandbox_type) const;
787
788 // Returns whether the Win32k lockdown process mitigation should be applied to
789 // a process hosting a plugin with the specified |mime_type|.
790 virtual bool IsWin32kLockdownEnabledForMimeType(
791 const std::string& mime_type) const;
792 #endif 787 #endif
793 }; 788 };
794 789
795 } // namespace content 790 } // namespace content
796 791
797 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 792 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/common/sandbox_win.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698