| OLD | NEW |
| 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 NET_BASE_AUTH_H__ | 5 #ifndef NET_BASE_AUTH_H__ |
| 6 #define NET_BASE_AUTH_H__ | 6 #define NET_BASE_AUTH_H__ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 string16 password; // the password supplied to us for auth. | 58 string16 password; // the password supplied to us for auth. |
| 59 | 59 |
| 60 // We wouldn't instantiate this class if we didn't need authentication. | 60 // We wouldn't instantiate this class if we didn't need authentication. |
| 61 AuthData(); | 61 AuthData(); |
| 62 | 62 |
| 63 private: | 63 private: |
| 64 friend class base::RefCountedThreadSafe<AuthData>; | 64 friend class base::RefCountedThreadSafe<AuthData>; |
| 65 ~AuthData(); | 65 ~AuthData(); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 class AuthCredentials { |
| 69 public: |
| 70 AuthCredentials(); |
| 71 ~AuthCredentials(); |
| 72 |
| 73 bool is_valid; |
| 74 string16 username; |
| 75 string16 password; |
| 76 }; |
| 77 |
| 68 } // namespace net | 78 } // namespace net |
| 69 | 79 |
| 70 #endif // NET_BASE_AUTH_H__ | 80 #endif // NET_BASE_AUTH_H__ |
| OLD | NEW |