app_shell: Add version number in user agent
[chromium-blink-merge.git] / chrome / browser / ui / toolbar / toolbar_model_security_level_list.h
blobf5502a980fb470a5c7e81f99fec7eb9666a46ac0
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
3 // found in the LICENSE file.
5 // Intentionally no include guards because this file is meant to be included
6 // inside a macro to generate enum values.
8 #ifndef DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL
9 #error "Please define DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL before including \
10 this file."
11 #endif
13 // HTTP/no URL/user is editing
14 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(NONE, 0)
16 // HTTPS with valid EV cert
17 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(EV_SECURE, 1)
19 // HTTPS (non-EV)
20 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(SECURE, 2)
22 // HTTPS, but unable to check certificate revocation status or with insecure
23 // content on the page
24 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(SECURITY_WARNING, 3)
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)
30 // Attempted HTTPS and failed, page not authenticated
31 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(SECURITY_ERROR, 5)
33 DEFINE_TOOLBAR_MODEL_SECURITY_LEVEL(NUM_SECURITY_LEVELS, 6)