| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |