Index: content/browser/webui/web_ui.h |
diff --git a/content/browser/webui/web_ui.h b/content/browser/webui/web_ui.h |
index 98adcb183cc2804d6945fa1c7d7e8db0e5532b4a..4d0215f6bc300dbcf63dc3bda004f449c040542c 100644 |
--- a/content/browser/webui/web_ui.h |
+++ b/content/browser/webui/web_ui.h |
@@ -144,6 +144,14 @@ class WebUI { |
TabContents* tab_contents() const { return tab_contents_; } |
+ // An opaque identifier used to identify a WebUI. This can only be compared to |
+ // kNoWebUI or other WebUI types. See GetWebUIType. |
+ typedef void* TypeID; |
+ |
+ // A special WebUI type that signifies that a given page would not use the |
+ // Web UI system. |
+ static const TypeID kNoWebUI; |
+ |
protected: |
void AddMessageHandler(WebUIMessageHandler* handler); |