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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 class BrowserMainParts; | 107 class BrowserMainParts; |
108 class BrowserPluginGuestDelegate; | 108 class BrowserPluginGuestDelegate; |
109 class BrowserPpapiHost; | 109 class BrowserPpapiHost; |
110 class BrowserURLHandler; | 110 class BrowserURLHandler; |
111 class ClientCertificateDelegate; | 111 class ClientCertificateDelegate; |
112 class DevToolsManagerDelegate; | 112 class DevToolsManagerDelegate; |
113 class ExternalVideoSurfaceContainer; | 113 class ExternalVideoSurfaceContainer; |
114 class GpuProcessHost; | 114 class GpuProcessHost; |
115 class LocationProvider; | 115 class LocationProvider; |
116 class MediaObserver; | 116 class MediaObserver; |
| 117 class MemoryCoordinatorDelegate; |
117 class NavigationHandle; | 118 class NavigationHandle; |
118 class NavigationUIData; | 119 class NavigationUIData; |
119 class PlatformNotificationService; | 120 class PlatformNotificationService; |
120 class PresentationServiceDelegate; | 121 class PresentationServiceDelegate; |
121 class QuotaPermissionContext; | 122 class QuotaPermissionContext; |
122 class RenderFrameHost; | 123 class RenderFrameHost; |
123 class RenderProcessHost; | 124 class RenderProcessHost; |
124 class RenderViewHost; | 125 class RenderViewHost; |
125 class ResourceContext; | 126 class ResourceContext; |
126 class SiteInstance; | 127 class SiteInstance; |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
768 // is launched. It gives the embedder a chance to add loosen the sandbox | 769 // is launched. It gives the embedder a chance to add loosen the sandbox |
769 // policy. | 770 // policy. |
770 virtual bool PreSpawnRenderer(sandbox::TargetPolicy* policy); | 771 virtual bool PreSpawnRenderer(sandbox::TargetPolicy* policy); |
771 | 772 |
772 // Returns the AppContainer SID for the specified sandboxed process type, or | 773 // Returns the AppContainer SID for the specified sandboxed process type, or |
773 // empty string if this sandboxed process type does not support living inside | 774 // empty string if this sandboxed process type does not support living inside |
774 // an AppContainer. | 775 // an AppContainer. |
775 virtual base::string16 GetAppContainerSidForSandboxType( | 776 virtual base::string16 GetAppContainerSidForSandboxType( |
776 int sandbox_type) const; | 777 int sandbox_type) const; |
777 #endif | 778 #endif |
| 779 |
| 780 // Returns an instance of MemoryCoordinatorDelegate. |
| 781 virtual std::unique_ptr<MemoryCoordinatorDelegate> |
| 782 GetMemoryCoordinatorDelegate(); |
778 }; | 783 }; |
779 | 784 |
780 } // namespace content | 785 } // namespace content |
781 | 786 |
782 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 787 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |