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

Unified Diff: content/public/common/security_style.h

Issue 2400673003: Remove SSLStatus::security_style member and content::SecurityStyle (Closed)
Patch Set: more curly braces Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/security_style.h
diff --git a/content/public/common/security_style.h b/content/public/common/security_style.h
deleted file mode 100644
index a0086d5a64ceeb4a987187574d2d66e2bfb8c629..0000000000000000000000000000000000000000
--- a/content/public/common/security_style.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_PUBLIC_COMMON_SECURITY_STYLE_H_
-#define CONTENT_PUBLIC_COMMON_SECURITY_STYLE_H_
-
-namespace content {
-
-// Various aspects of the UI change their appearance according to the security
-// context in which they are displayed. For example, the location bar displays
-// a lock icon when it is displayed during a valid SSL connection.
-// SecuritySyle enumerates these styles, but it is up to the UI elements to
-// adjust their display appropriately.
-enum SecurityStyle {
- // SECURITY_STYLE_UNKNOWN indicates that we do not know the proper security
- // style for this object.
- SECURITY_STYLE_UNKNOWN,
-
- // SECURITY_STYLE_UNAUTHENTICATED means the authenticity of this object can
- // not be determined, either because it was retrieved using an unauthenticated
- // protocol, such as HTTP or FTP, or it was retrieved using a protocol that
- // supports authentication, such as HTTPS, but there were errors during
- // transmission that render us uncertain to the object's authenticity.
- SECURITY_STYLE_UNAUTHENTICATED,
-
- // SECURITY_STYLE_AUTHENTICATION_BROKEN indicates that we tried to retrieve
- // this object in an authenticated manner but were unable to do so.
- SECURITY_STYLE_AUTHENTICATION_BROKEN,
-
- // SECURITY_STYLE_WARNING means that the object was retrieved in an
- // authenticated manner, but there were security issues with the retrieval or
- // the object interacted with less secure objects.
- SECURITY_STYLE_WARNING,
-
- // SECURITY_STYLE_AUTHENTICATED indicates that we successfully retrieved this
- // object over an authenticated protocol, such as HTTPS.
- SECURITY_STYLE_AUTHENTICATED,
- SECURITY_STYLE_LAST = SECURITY_STYLE_AUTHENTICATED
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_COMMON_SECURITY_STYLE_H_
« no previous file with comments | « content/public/common/common_param_traits_macros.h ('k') | ios/chrome/browser/ssl/ios_chrome_security_state_model_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698