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

Unified Diff: extensions/browser/guest_view/guest_view_base.h

Issue 497843002: GuestViews should be able to specify task manager entries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added DEPS Created 6 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/guest_view/guest_view_base.h
diff --git a/extensions/browser/guest_view/guest_view_base.h b/extensions/browser/guest_view/guest_view_base.h
index 8ce638c6f492624ba0beed54e3659e0515075dc3..05179445f0f0f1be2defef247e10676637f5a507 100644
--- a/extensions/browser/guest_view/guest_view_base.h
+++ b/extensions/browser/guest_view/guest_view_base.h
@@ -145,7 +145,12 @@ class GuestViewBase : public content::BrowserPluginGuestDelegate,
//
// This should be the name of the API as it appears in the _api_features.json
// file.
- virtual const char* GetAPINamespace() = 0;
+ virtual const char* GetAPINamespace() const = 0;
+
+ // This method is to be implemented by the derived class. This method is the
+ // task prefix to show for a task produced by this GuestViewBase's derived
+ // type.
+ virtual int GetTaskPrefix() const = 0;
// This method is to be implemented by the derived class. Given a set of
// initialization parameters, a concrete subclass of GuestViewBase can
« no previous file with comments | « extensions/browser/guest_view/app_view/app_view_guest.cc ('k') | extensions/browser/guest_view/web_view/web_view_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698