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

Side by Side Diff: chrome/browser/ssl/connection_security_helper.h

Issue 1148743002: Show the location bar in bookmark apps with security errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ssl/connection_security_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_BROWSER_SSL_CONNECTION_SECURITY_HELPER_H_ 5 #ifndef CHROME_BROWSER_SSL_CONNECTION_SECURITY_HELPER_H_
6 #define CHROME_BROWSER_SSL_CONNECTION_SECURITY_HELPER_H_ 6 #define CHROME_BROWSER_SSL_CONNECTION_SECURITY_HELPER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // certificate that was installed by the system administrator 43 // certificate that was installed by the system administrator
44 SECURITY_POLICY_WARNING, 44 SECURITY_POLICY_WARNING,
45 45
46 // Attempted HTTPS and failed, page not authenticated 46 // Attempted HTTPS and failed, page not authenticated
47 SECURITY_ERROR, 47 SECURITY_ERROR,
48 }; 48 };
49 49
50 // Returns a security level describing the overall security state of 50 // Returns a security level describing the overall security state of
51 // the given |WebContents|. 51 // the given |WebContents|.
52 static SecurityLevel GetSecurityLevelForWebContents( 52 static SecurityLevel GetSecurityLevelForWebContents(
53 content::WebContents* web_contents); 53 const content::WebContents* web_contents);
54 54
55 private: 55 private:
56 DISALLOW_IMPLICIT_CONSTRUCTORS(ConnectionSecurityHelper); 56 DISALLOW_IMPLICIT_CONSTRUCTORS(ConnectionSecurityHelper);
57 }; 57 };
58 58
59 #endif // CHROME_BROWSER_SSL_CONNECTION_SECURITY_HELPER_H_ 59 #endif // CHROME_BROWSER_SSL_CONNECTION_SECURITY_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ssl/connection_security_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698