| 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 CONTENT_PUBLIC_COMMON_SECURITY_STYLE_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_SECURITY_STYLE_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_SECURITY_STYLE_H_ | 6 #define CONTENT_PUBLIC_COMMON_SECURITY_STYLE_H_ |
| 7 | 7 |
| 8 namespace content { | 8 namespace content { |
| 9 | 9 |
| 10 // Various aspects of the UI change their appearance according to the security | 10 // Various aspects of the UI change their appearance according to the security |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 // transmission that render us uncertain to the object's authenticity. | 24 // transmission that render us uncertain to the object's authenticity. |
| 25 SECURITY_STYLE_UNAUTHENTICATED, | 25 SECURITY_STYLE_UNAUTHENTICATED, |
| 26 | 26 |
| 27 // SECURITY_STYLE_AUTHENTICATION_BROKEN indicates that we tried to retrieve | 27 // SECURITY_STYLE_AUTHENTICATION_BROKEN indicates that we tried to retrieve |
| 28 // this object in an authenticated manner but were unable to do so. | 28 // this object in an authenticated manner but were unable to do so. |
| 29 SECURITY_STYLE_AUTHENTICATION_BROKEN, | 29 SECURITY_STYLE_AUTHENTICATION_BROKEN, |
| 30 | 30 |
| 31 // SECURITY_STYLE_AUTHENTICATED indicates that we successfully retrieved this | 31 // SECURITY_STYLE_AUTHENTICATED indicates that we successfully retrieved this |
| 32 // object over an authenticated protocol, such as HTTPS. | 32 // object over an authenticated protocol, such as HTTPS. |
| 33 SECURITY_STYLE_AUTHENTICATED, | 33 SECURITY_STYLE_AUTHENTICATED, |
| 34 SECURITY_STYLE_LAST = SECURITY_STYLE_AUTHENTICATED |
| 34 }; | 35 }; |
| 35 | 36 |
| 36 } // namespace content | 37 } // namespace content |
| 37 | 38 |
| 38 #endif // CONTENT_PUBLIC_COMMON_SECURITY_STYLE_H_ | 39 #endif // CONTENT_PUBLIC_COMMON_SECURITY_STYLE_H_ |
| OLD | NEW |