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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2710823003: NOCOMMIT prototype: GRC service plumbing and process priority
Patch Set: Buildfixes Created 3 years, 9 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: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index cf3ec7219b0dcd06f6097d436c1162ab67d5c426..00dbd79446bf013abaa1b5ea9071d2f1f4b8587b 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -73,6 +73,7 @@
#include "content/browser/renderer_host/render_widget_host_input_event_router.h"
#include "content/browser/renderer_host/render_widget_host_view_base.h"
#include "content/browser/renderer_host/text_input_manager.h"
+#include "content/browser/resource_coordinator_web_contents_observer.h"
#include "content/browser/screen_orientation/screen_orientation_provider.h"
#include "content/browser/site_instance_impl.h"
#include "content/browser/web_contents/web_contents_view_child_frame.h"
@@ -485,6 +486,8 @@ WebContentsImpl::WebContentsImpl(BrowserContext* browser_context)
BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE),
base::Bind(&WebContentsImpl::GetNativeView, base::Unretained(this))));
host_zoom_map_observer_.reset(new HostZoomMapObserver(this));
+ // TODO(oysteine): Only do this for top-level tab WebContents.
+ ResourceCoordinatorWebContentsObserver::CreateForWebContents(this);
}
WebContentsImpl::~WebContentsImpl() {

Powered by Google App Engine
This is Rietveld 408576698