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

Side by Side Diff: chrome/browser/ui/webui/ntp/ntp_login_handler.h

Issue 12789006: base/prefs: Remove the public/ directory and move the files to //base/prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_NTP_LOGIN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_NTP_LOGIN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_NTP_NTP_LOGIN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_NTP_NTP_LOGIN_HANDLER_H_
7 7
8 #include "base/prefs/public/pref_member.h" 8 #include "base/prefs/pref_member.h"
9 #include "content/public/browser/notification_observer.h" 9 #include "content/public/browser/notification_observer.h"
10 #include "content/public/browser/notification_registrar.h" 10 #include "content/public/browser/notification_registrar.h"
11 #include "content/public/browser/web_ui_message_handler.h" 11 #include "content/public/browser/web_ui_message_handler.h"
12 12
13 class Profile; 13 class Profile;
14 14
15 // The NTP login handler currently simply displays the current logged in 15 // The NTP login handler currently simply displays the current logged in
16 // username at the top of the NTP (and update itself when that changes). 16 // username at the top of the NTP (and update itself when that changes).
17 // In the future it may expand to allow users to login from the NTP. 17 // In the future it may expand to allow users to login from the NTP.
18 class NTPLoginHandler : public content::WebUIMessageHandler, 18 class NTPLoginHandler : public content::WebUIMessageHandler,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 // Internal helper method 68 // Internal helper method
69 void UpdateLogin(); 69 void UpdateLogin();
70 70
71 StringPrefMember username_pref_; 71 StringPrefMember username_pref_;
72 BooleanPrefMember signin_allowed_pref_; 72 BooleanPrefMember signin_allowed_pref_;
73 content::NotificationRegistrar registrar_; 73 content::NotificationRegistrar registrar_;
74 }; 74 };
75 75
76 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NTP_LOGIN_HANDLER_H_ 76 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NTP_LOGIN_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_ui.h ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698