Index: content/browser/webui/web_ui.h |
diff --git a/content/browser/webui/web_ui.h b/content/browser/webui/web_ui.h |
index d0462ac7f2d674c981e6147a2afc0d785366975c..76482bae2a8c70152d7b0ca030aa1d0c110bcbbc 100644 |
--- a/content/browser/webui/web_ui.h |
+++ b/content/browser/webui/web_ui.h |
@@ -18,7 +18,6 @@ |
class WebUIMessageHandler; |
class GURL; |
-class Profile; |
class RenderViewHost; |
class TabContents; |
@@ -139,14 +138,6 @@ class WebUI : public IPC::Channel::Listener { |
void CallJavascriptFunction(const std::string& function_name, |
const std::vector<const base::Value*>& args); |
- // May be overridden by WebUI's which do not have a tab contents. |
- // TODO(estade): removing this Profile dependency is predicated on reworking |
- // TabContents's Profile ownership. |
- virtual Profile* GetProfile() const; |
- |
- // May be overridden by WebUI's which do not have a tab contents. |
- virtual RenderViewHost* GetRenderViewHost() const; |
- |
TabContents* tab_contents() const { return tab_contents_; } |
// Returns true to indicate that the WebUI is performing a long running |