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

Unified Diff: extensions/browser/extensions_browser_client.h

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: Added browser tests 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
Index: extensions/browser/extensions_browser_client.h
diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h
index 672b9251de9252174a0fd3767da28eea22112a8e..f0716c5c1243b161216e2716495b5dedd77ba1b5 100644
--- a/extensions/browser/extensions_browser_client.h
+++ b/extensions/browser/extensions_browser_client.h
@@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "extensions/browser/extension_event_histogram_value.h"
#include "extensions/browser/extension_prefs_observer.h"
+#include "extensions/common/view_type.h"
class ExtensionFunctionRegistry;
class PrefService;
@@ -229,6 +230,12 @@ class ExtensionsBrowserClient {
// destroyed.
virtual void CleanUpWebView(int embedder_process_id, int view_instance_id) {}
+ // Attaches the task manager extension tag to |web_contents|, if needed based
+ // on |view_type|, so that its corresponding task shows up in the task
+ // manager.
+ virtual void AttachExtensionTaskManagerTag(content::WebContents* web_contents,
+ ViewType view_type) {}
+
// Returns the single instance of |this|.
static ExtensionsBrowserClient* Get();

Powered by Google App Engine
This is Rietveld 408576698