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 |