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

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: 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 | « chrome/chrome_tests.gypi ('k') | extensions/browser/view_type_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extensions_browser_client.h
diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h
index 838a34360768af527647c4b1cfe0af5d40b9043d..8b66051ead124e92fb10ffe09d1a5cd18b8cc03a 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;
@@ -226,6 +227,12 @@ class ExtensionsBrowserClient {
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();
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | extensions/browser/view_type_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698