Index: chrome/browser/ui/webui/chrome_web_ui.h |
diff --git a/chrome/browser/ui/webui/chrome_web_ui.h b/chrome/browser/ui/webui/chrome_web_ui.h |
index 3a15d479de73882a9af219360de73bc5c83a5f05..4b9ed852bfa0c23a65cb913a95c6dfb196ab8486 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui.h |
+++ b/chrome/browser/ui/webui/chrome_web_ui.h |
@@ -8,11 +8,16 @@ |
#include "content/browser/webui/web_ui.h" |
+class Profile; |
+ |
class ChromeWebUI : public WebUI { |
public: |
explicit ChromeWebUI(TabContents* contents); |
virtual ~ChromeWebUI(); |
+ // Returns the profile for this WebUI. |
+ Profile* GetProfile() const; |
+ |
// Returns true if the bookmark bar should be forced to being visible, |
// overriding the user's preference. |
bool force_bookmark_bar_visible() const { |