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

Side by Side Diff: chrome/browser/tab_contents/security_style.h

Issue 4194007: Revert "Refactor automation messages." due to mysterious problems on mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_COMMON_SECURITY_STYLE_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_SECURITY_STYLE_H_
6 #define CHROME_COMMON_SECURITY_STYLE_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_SECURITY_STYLE_H_
7 #pragma once 7 #pragma once
8 8
9 // Various aspects of the UI change their appearance according to the security 9 // Various aspects of the UI change their appearance according to the security
10 // context in which they are displayed. For example, the location bar displays 10 // context in which they are displayed. For example, the location bar displays
11 // a lock icon when it is displayed during a valid SSL connection. 11 // a lock icon when it is displayed during a valid SSL connection.
12 // SecuirtySyle enumerates these styles, but it is up to the UI elements to 12 // SecuirtySyle enumerates these styles, but it is up to the UI elements to
13 // adjust their display appropriately. 13 // adjust their display appropriately.
14 enum SecurityStyle { 14 enum SecurityStyle {
15 // SECURITY_STYLE_UNKNOWN indicates that we do not know the proper security 15 // SECURITY_STYLE_UNKNOWN indicates that we do not know the proper security
16 // style for this object. 16 // style for this object.
17 SECURITY_STYLE_UNKNOWN, 17 SECURITY_STYLE_UNKNOWN,
18 18
19 // SECURITY_STYLE_UNAUTHENTICATED means the authenticity of this object can 19 // SECURITY_STYLE_UNAUTHENTICATED means the authenticity of this object can
20 // not be determined, either because it was retrieved using an unauthenticated 20 // not be determined, either because it was retrieved using an unauthenticated
21 // protocol, such as HTTP or FTP, or it was retrieved using a protocol that 21 // protocol, such as HTTP or FTP, or it was retrieved using a protocol that
22 // supports authentication, such as HTTPS, but there were errors during 22 // supports authentication, such as HTTPS, but there were errors during
23 // transmission that render us uncertain to the object's authenticity. 23 // transmission that render us uncertain to the object's authenticity.
24 SECURITY_STYLE_UNAUTHENTICATED, 24 SECURITY_STYLE_UNAUTHENTICATED,
25 25
26 // SECURITY_STYLE_AUTHENTICATION_BROKEN indicates that we tried to retrieve 26 // SECURITY_STYLE_AUTHENTICATION_BROKEN indicates that we tried to retrieve
27 // this object in an authenticated manner but were unable to do so. 27 // this object in an authenticated manner but were unable to do so.
28 SECURITY_STYLE_AUTHENTICATION_BROKEN, 28 SECURITY_STYLE_AUTHENTICATION_BROKEN,
29 29
30 // SECURITY_STYLE_AUTHENTICATED indicates that we successfully retrieved this 30 // SECURITY_STYLE_AUTHENTICATED indicates that we successfully retrieved this
31 // object over an authenticated protocol, such as HTTPS. 31 // object over an authenticated protocol, such as HTTPS.
32 SECURITY_STYLE_AUTHENTICATED, 32 SECURITY_STYLE_AUTHENTICATED,
33 }; 33 };
34 34
35 #endif // CHROME_COMMON_SECURITY_STYLE_H_ 35 #endif // CHROME_BROWSER_TAB_CONTENTS_SECURITY_STYLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/navigation_entry_unittest.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698