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

Unified Diff: extensions/browser/view_type_utils.cc

Issue 1254103002: New Task Manager - Phase 1.3.5: Implement Extension Task Providing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Devlin's comments Created 5 years, 4 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 | « extensions/browser/extensions_browser_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/view_type_utils.cc
diff --git a/extensions/browser/view_type_utils.cc b/extensions/browser/view_type_utils.cc
index ba72ceb7de7f3aa8ae0697415020286176220fac..933d669037df52c4eeb1fcee9c326456df037f34 100644
--- a/extensions/browser/view_type_utils.cc
+++ b/extensions/browser/view_type_utils.cc
@@ -6,6 +6,7 @@
#include "base/lazy_instance.h"
#include "content/public/browser/web_contents.h"
+#include "extensions/browser/extensions_browser_client.h"
using content::WebContents;
@@ -39,6 +40,8 @@ ViewType GetViewType(WebContents* tab) {
void SetViewType(WebContents* tab, ViewType type) {
tab->SetUserData(&kViewTypeUserDataKey, new ViewTypeUserData(type));
+
+ ExtensionsBrowserClient::Get()->AttachExtensionTaskManagerTag(tab, type);
}
} // namespace extensions
« no previous file with comments | « extensions/browser/extensions_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698