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 37c400efe1e33c826b25ef939ab1f3b709d3fd49..1ba02929d354a9d198f8f8768bdb4fb979b9f6b7 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). |
@@ -45,6 +46,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_; |
}; |