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

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

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once
8 7
9 namespace content { 8 namespace content {
10 9
11 // 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
12 // context in which they are displayed. For example, the location bar displays 11 // context in which they are displayed. For example, the location bar displays
13 // a lock icon when it is displayed during a valid SSL connection. 12 // a lock icon when it is displayed during a valid SSL connection.
14 // SecuritySyle enumerates these styles, but it is up to the UI elements to 13 // SecuritySyle enumerates these styles, but it is up to the UI elements to
15 // adjust their display appropriately. 14 // adjust their display appropriately.
16 enum SecurityStyle { 15 enum SecurityStyle {
17 // SECURITY_STYLE_UNKNOWN indicates that we do not know the proper security 16 // SECURITY_STYLE_UNKNOWN indicates that we do not know the proper security
(...skipping 12 matching lines...) Expand all
30 SECURITY_STYLE_AUTHENTICATION_BROKEN, 29 SECURITY_STYLE_AUTHENTICATION_BROKEN,
31 30
32 // SECURITY_STYLE_AUTHENTICATED indicates that we successfully retrieved this 31 // SECURITY_STYLE_AUTHENTICATED indicates that we successfully retrieved this
33 // object over an authenticated protocol, such as HTTPS. 32 // object over an authenticated protocol, such as HTTPS.
34 SECURITY_STYLE_AUTHENTICATED, 33 SECURITY_STYLE_AUTHENTICATED,
35 }; 34 };
36 35
37 } // namespace content 36 } // namespace content
38 37
39 #endif // CONTENT_PUBLIC_COMMON_SECURITY_STYLE_H_ 38 #endif // CONTENT_PUBLIC_COMMON_SECURITY_STYLE_H_
OLDNEW
« no previous file with comments | « content/public/common/sandbox_type_mac.h ('k') | content/public/common/serialized_script_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698