OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_AUTO_LOGIN_INFO_BAR_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTO_LOGIN_INFOBAR_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_AUTO_LOGIN_INFO_BAR_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_AUTO_LOGIN_INFOBAR_DELEGATE_H_ |
7 | 7 |
8 #include "chrome/browser/infobars/confirm_infobar_delegate.h" | 8 #include "chrome/browser/infobars/confirm_infobar_delegate.h" |
9 #include "components/auto_login_parser/auto_login_parser.h" | 9 #include "components/auto_login_parser/auto_login_parser.h" |
10 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
11 #include "content/public/browser/notification_registrar.h" | 11 #include "content/public/browser/notification_registrar.h" |
12 | 12 |
13 class PrefService; | 13 class PrefService; |
14 class TokenService; | 14 class TokenService; |
15 | 15 |
16 namespace content { | 16 namespace content { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 // Whether any UI controls in the infobar were pressed or not. | 71 // Whether any UI controls in the infobar were pressed or not. |
72 bool button_pressed_; | 72 bool button_pressed_; |
73 | 73 |
74 // For listening to the user signing out. | 74 // For listening to the user signing out. |
75 content::NotificationRegistrar registrar_; | 75 content::NotificationRegistrar registrar_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(AutoLoginInfoBarDelegate); | 77 DISALLOW_COPY_AND_ASSIGN(AutoLoginInfoBarDelegate); |
78 }; | 78 }; |
79 | 79 |
80 #endif // CHROME_BROWSER_UI_AUTO_LOGIN_INFO_BAR_DELEGATE_H_ | 80 #endif // CHROME_BROWSER_UI_AUTO_LOGIN_INFOBAR_DELEGATE_H_ |
OLD | NEW |