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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

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
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index e650d849d255ec7e4dc5e3ec0458c323cba05c75..2154bd53f382e8a75dfcc497a7dcbbe6f355af91 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -51,6 +51,7 @@
#include "chrome/browser/engagement/site_engagement_eviction_policy.h"
#include "chrome/browser/font_family_cache.h"
#include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h"
+#include "chrome/browser/memory/chrome_memory_coordinator_delegate.h"
#include "chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h"
#include "chrome/browser/nacl_host/nacl_browser_delegate_impl.h"
#include "chrome/browser/notifications/platform_notification_service_impl.h"
@@ -3247,3 +3248,8 @@ void ChromeContentBrowserClient::MaybeCopyDisableWebRtcEncryptionSwitch(
}
}
#endif // defined(ENABLE_WEBRTC)
+
+std::unique_ptr<content::MemoryCoordinatorDelegate>
+ChromeContentBrowserClient::GetMemoryCoordinatorDelegate() {
+ return memory::ChromeMemoryCoordinatorDelegate::Create();
+}
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/memory/chrome_memory_coordinator_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698