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

Unified Diff: content/browser/webui/web_ui.h

Issue 7554008: Removal of Profile from content part 6. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Profile helper function, rebase Created 9 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
« no previous file with comments | « chrome/browser/ui/webui/workers_ui.cc ('k') | content/browser/webui/web_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/browser/ui/webui/workers_ui.cc ('k') | content/browser/webui/web_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698