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

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

Issue 1612663002: Use a valid /prefetch argument when launching a process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bit
Patch Set: rebase + prefetch argument for crashpad Created 4 years, 10 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 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 // Returns the AppContainer SID for the specified sandboxed process type, or 749 // Returns the AppContainer SID for the specified sandboxed process type, or
750 // empty string if this sandboxed process type does not support living inside 750 // empty string if this sandboxed process type does not support living inside
751 // an AppContainer. 751 // an AppContainer.
752 virtual base::string16 GetAppContainerSidForSandboxType( 752 virtual base::string16 GetAppContainerSidForSandboxType(
753 int sandbox_type) const; 753 int sandbox_type) const;
754 754
755 // Returns whether the Win32k lockdown process mitigation should be applied to 755 // Returns whether the Win32k lockdown process mitigation should be applied to
756 // a process hosting a plugin with the specified |mime_type|. 756 // a process hosting a plugin with the specified |mime_type|.
757 virtual bool IsWin32kLockdownEnabledForMimeType( 757 virtual bool IsWin32kLockdownEnabledForMimeType(
758 const std::string& mime_type) const; 758 const std::string& mime_type) const;
759
760 // Returns true if processes should be launched with a /prefetch:# argument.
761 // See the kPrefetchArgument* constants in content_switches.cc for details.
762 virtual bool ShouldUseWindowsPrefetchArgument() const;
759 #endif 763 #endif
760 764
761 #if defined(VIDEO_HOLE) 765 #if defined(VIDEO_HOLE)
762 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 766 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
763 // implementation. Return nullptr to disable external surface video. 767 // implementation. Return nullptr to disable external surface video.
764 virtual ExternalVideoSurfaceContainer* 768 virtual ExternalVideoSurfaceContainer*
765 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 769 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
766 #endif 770 #endif
767 }; 771 };
768 772
769 } // namespace content 773 } // namespace content
770 774
771 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 775 #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