Index: chrome/browser/ui/webui/ntp/ntp_login_handler.h |
diff --git a/chrome/browser/ui/webui/ntp/ntp_login_handler.h b/chrome/browser/ui/webui/ntp/ntp_login_handler.h |
index b9dbc97e3d0ca902d03c278a705fb928c27b0c17..fc9fadac759387adc60068dd26b6c8479004023f 100644 |
--- a/chrome/browser/ui/webui/ntp/ntp_login_handler.h |
+++ b/chrome/browser/ui/webui/ntp/ntp_login_handler.h |
@@ -11,6 +11,7 @@ |
#include "content/common/notification_observer.h" |
class Profile; |
+class Browser; |
// The NTP login handler currently simply displays the current logged in |
// username at the top of the NTP (and update itself when that changes). |
@@ -48,6 +49,9 @@ class NTPLoginHandler : public WebUIMessageHandler, |
// Internal helper method |
void UpdateLogin(); |
+ // Gets the browser window that's currently hosting the new tab page. |
+ Browser* GetBrowser(); |
+ |
StringPrefMember username_pref_; |
}; |