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

Side by Side Diff: chrome/browser/ui/toolbar/toolbar_model_security_level_list.h

Issue 13483010: Add UI notifications for admin-provided SSL certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 8 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 // Intentionally no include guards because this file is meant to be included 5 // Intentionally no include guards because this file is meant to be included
6 // inside a macro to generate enum values. 6 // inside a macro to generate enum values.
7 7
8 #ifndef DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL 8 #ifndef DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL
9 #error "Please define DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL before including \ 9 #error "Please define DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL before including \
10 this file." 10 this file."
11 #endif 11 #endif
12 12
13 // HTTP/no URL/user is editing 13 // HTTP/no URL/user is editing
14 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(NONE, 0) 14 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(NONE, 0)
15 15
16 // HTTPS with valid EV cert 16 // HTTPS with valid EV cert
17 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(EV_SECURE, 1) 17 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(EV_SECURE, 1)
18 18
19 // HTTPS (non-EV) 19 // HTTPS (non-EV)
20 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(SECURE, 2) 20 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(SECURE, 2)
21 21
22 // HTTPS, but unable to check certificate revocation status or with insecure 22 // HTTPS, but unable to check certificate revocation status or with insecure
23 // content on the page 23 // content on the page
24 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(SECURITY_WARNING, 3) 24 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(SECURITY_WARNING, 3)
25 25
26 // HTTPS, but the certificate verification chain is anchored on a certificate
27 // that was installed by the system administrator
28 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(SECURITY_POLICY_WARNING, 4)
29
26 // Attempted HTTPS and failed, page not authenticated 30 // Attempted HTTPS and failed, page not authenticated
27 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(SECURITY_ERROR, 4) 31 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(SECURITY_ERROR, 5)
28 32
29 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(NUM_SECURITY_LEVELS, 5) 33 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(NUM_SECURITY_LEVELS, 6)
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_model_impl.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698