OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CHROMEOS_LOGIN_AUTHENTICATION_NOTIFICATION_DETAILS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTHENTICATION_NOTIFICATION_DETAILS_H
_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATION_NOTIFICATION_DETAILS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTHENTICATION_NOTIFICATION_DETAILS_H
_ |
7 | 7 |
8 // A class to hold the parameters we get back from an authentication attempt | 8 // A class to hold the parameters we get back from an authentication attempt |
9 // through the login manager | 9 // through the login manager |
10 class AuthenticationNotificationDetails { | 10 class AuthenticationNotificationDetails { |
11 public: | 11 public: |
12 explicit AuthenticationNotificationDetails(bool success) : success_(success) { | 12 explicit AuthenticationNotificationDetails(bool success) : success_(success) { |
13 } | 13 } |
14 | 14 |
15 bool success() const { return success_; } | 15 bool success() const { return success_; } |
16 | 16 |
17 private: | 17 private: |
18 bool success_; | 18 bool success_; |
19 | 19 |
20 DISALLOW_COPY_AND_ASSIGN(AuthenticationNotificationDetails); | 20 DISALLOW_COPY_AND_ASSIGN(AuthenticationNotificationDetails); |
21 }; | 21 }; |
22 | 22 |
23 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATION_NOTIFICATION_DETAILS_H_ | 23 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTHENTICATION_NOTIFICATION_DETAIL
S_H_ |
OLD | NEW |