Index: chrome/browser/extensions/extension_tab_util.h |
diff --git a/chrome/browser/extensions/extension_tab_util.h b/chrome/browser/extensions/extension_tab_util.h |
index d2d7fd5c7da18545a7b7266863ba8531595e4675..738dc4ee3557d4d6cab8f9815245121f04abc7ff 100644 |
--- a/chrome/browser/extensions/extension_tab_util.h |
+++ b/chrome/browser/extensions/extension_tab_util.h |
@@ -177,6 +177,10 @@ class ExtensionTabUtil { |
// successfully opened (though it may not necessarily *load*, e.g. if the |
// URL does not exist). |
static bool OpenOptionsPage(const Extension* extension, Browser* browser); |
+ |
+ // Returns true if the given Browser can report tabs to extensions. |
+ // Example of Browsers which don't support tabs include apps and devtools. |
+ static bool BrowserSupportsTabs(Browser* browser); |
}; |
} // namespace extensions |