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

Side by Side Diff: components/security_state/security_state_model.h

Issue 2329153002: Remove the WARNING security level.
Patch Set: Restore top control test for sub.originalwebsite.com (but with ERROR instead of WARNING). Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_ 5 #ifndef COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_
6 #define COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_ 6 #define COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 27 matching lines...) Expand all
38 enum SecurityLevel { 38 enum SecurityLevel {
39 // HTTP/no URL/HTTPS but with insecure passive content on the page. 39 // HTTP/no URL/HTTPS but with insecure passive content on the page.
40 NONE, 40 NONE,
41 41
42 // HTTPS with valid EV cert. 42 // HTTPS with valid EV cert.
43 EV_SECURE, 43 EV_SECURE,
44 44
45 // HTTPS (non-EV) with valid cert. 45 // HTTPS (non-EV) with valid cert.
46 SECURE, 46 SECURE,
47 47
48 // HTTPS, but with an outdated protocol version.
49 SECURITY_WARNING,
50
51 // HTTPS, but the certificate verification chain is anchored on a 48 // HTTPS, but the certificate verification chain is anchored on a
52 // certificate that was installed by the system administrator. 49 // certificate that was installed by the system administrator.
53 SECURITY_POLICY_WARNING, 50 SECURITY_POLICY_WARNING,
54 51
55 // Attempted HTTPS and failed, page not authenticated, HTTPS with 52 // Attempted HTTPS and failed, page not authenticated, HTTPS with
56 // insecure active content on the page, malware, phishing, or any other 53 // insecure active content on the page, malware, phishing, or any other
57 // serious security issue. 54 // serious security issue.
58 SECURITY_ERROR, 55 SECURITY_ERROR,
59 }; 56 };
60 57
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 mutable VisibleSecurityState visible_security_state_; 192 mutable VisibleSecurityState visible_security_state_;
196 193
197 SecurityStateModelClient* client_; 194 SecurityStateModelClient* client_;
198 195
199 DISALLOW_COPY_AND_ASSIGN(SecurityStateModel); 196 DISALLOW_COPY_AND_ASSIGN(SecurityStateModel);
200 }; 197 };
201 198
202 } // namespace security_state 199 } // namespace security_state
203 200
204 #endif // COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_ 201 #endif // COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm ('k') | components/security_state/security_state_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698