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

Side by Side Diff: content/public/common/security_style.h

Issue 1162663004: Introduce browser-side plumbing for sending the lock icon status to DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased onto latest master. Created 5 years, 6 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
OLDNEW
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 10 matching lines...) Expand all
21 // not be determined, either because it was retrieved using an unauthenticated 21 // not be determined, either because it was retrieved using an unauthenticated
22 // protocol, such as HTTP or FTP, or it was retrieved using a protocol that 22 // protocol, such as HTTP or FTP, or it was retrieved using a protocol that
23 // supports authentication, such as HTTPS, but there were errors during 23 // supports authentication, such as HTTPS, but there were errors during
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_WARNING is a higher-level state that means that the object
32 // was retrieved in an authenticated manner, but there were security issues
33 // with the retrieval or the object interacted with less secure objects.
Ryan Sleevi 2015/06/03 23:43:52 comment nit: I'm not sure what "higher-level state
lgarron 2015/06/04 00:26:35 Done. (Thanks for the "deprecated TLS-protection"
34 SECURITY_STYLE_WARNING,
35
31 // SECURITY_STYLE_AUTHENTICATED indicates that we successfully retrieved this 36 // SECURITY_STYLE_AUTHENTICATED indicates that we successfully retrieved this
32 // object over an authenticated protocol, such as HTTPS. 37 // object over an authenticated protocol, such as HTTPS.
33 SECURITY_STYLE_AUTHENTICATED, 38 SECURITY_STYLE_AUTHENTICATED,
34 SECURITY_STYLE_LAST = SECURITY_STYLE_AUTHENTICATED 39 SECURITY_STYLE_LAST = SECURITY_STYLE_AUTHENTICATED
35 }; 40 };
36 41
37 } // namespace content 42 } // namespace content
38 43
39 #endif // CONTENT_PUBLIC_COMMON_SECURITY_STYLE_H_ 44 #endif // CONTENT_PUBLIC_COMMON_SECURITY_STYLE_H_
OLDNEW
« chrome/browser/ui/browser_browsertest.cc ('K') | « content/public/browser/web_contents_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698