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

Unified Diff: content/public/browser/content_browser_client.h

Issue 2399293002: Add MemoryCoordinatorDelegate (Closed)
Patch Set: Add a separate delegate class 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 41b2214227a316659915ace32aa0cba16793de79..af10e538bb3f2d0737b60524f9ca5b30d67fbe6e 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -114,6 +114,7 @@ class ExternalVideoSurfaceContainer;
class GpuProcessHost;
class LocationProvider;
class MediaObserver;
+class MemoryCoordinatorDelegate;
class NavigationHandle;
class NavigationUIData;
class PlatformNotificationService;
@@ -775,6 +776,10 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual base::string16 GetAppContainerSidForSandboxType(
int sandbox_type) const;
#endif
+
+ // Returns an instance of MemoryCoordinatorDelegate.
+ virtual std::unique_ptr<MemoryCoordinatorDelegate>
+ GetMemoryCoordinatorDelegate();
};
} // namespace content
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698