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

Side by Side Diff: content/browser/ssl/ssl_manager.h

Issue 10073023: TabContents -> WebContentsImpl, part 14. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « content/browser/ssl/ssl_cert_error_handler.cc ('k') | content/browser/ssl/ssl_policy.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_SSL_SSL_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_SSL_SSL_MANAGER_H_
6 #define CONTENT_BROWSER_SSL_SSL_MANAGER_H_ 6 #define CONTENT_BROWSER_SSL_SSL_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 16 matching lines...) Expand all
27 namespace content { 27 namespace content {
28 class NavigationEntryImpl; 28 class NavigationEntryImpl;
29 struct ResourceRedirectDetails; 29 struct ResourceRedirectDetails;
30 struct ResourceRequestDetails; 30 struct ResourceRequestDetails;
31 } 31 }
32 32
33 namespace net { 33 namespace net {
34 class SSLInfo; 34 class SSLInfo;
35 } 35 }
36 36
37 // The SSLManager SSLManager controls the SSL UI elements in a TabContents. It 37 // The SSLManager SSLManager controls the SSL UI elements in a WebContents. It
38 // listens for various events that influence when these elements should or 38 // listens for various events that influence when these elements should or
39 // should not be displayed and adjusts them accordingly. 39 // should not be displayed and adjusts them accordingly.
40 // 40 //
41 // There is one SSLManager per tab. 41 // There is one SSLManager per tab.
42 // The security state (secure/insecure) is stored in the navigation entry. 42 // The security state (secure/insecure) is stored in the navigation entry.
43 // Along with it are stored any SSL error code and the associated cert. 43 // Along with it are stored any SSL error code and the associated cert.
44 44
45 class SSLManager : public content::NotificationObserver { 45 class SSLManager : public content::NotificationObserver {
46 public: 46 public:
47 // Entry point for SSLCertificateErrors. This function begins the process 47 // Entry point for SSLCertificateErrors. This function begins the process
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // for the security UI of this tab. 115 // for the security UI of this tab.
116 NavigationControllerImpl* controller_; 116 NavigationControllerImpl* controller_;
117 117
118 // Handles registering notifications with the NotificationService. 118 // Handles registering notifications with the NotificationService.
119 content::NotificationRegistrar registrar_; 119 content::NotificationRegistrar registrar_;
120 120
121 DISALLOW_COPY_AND_ASSIGN(SSLManager); 121 DISALLOW_COPY_AND_ASSIGN(SSLManager);
122 }; 122 };
123 123
124 #endif // CONTENT_BROWSER_SSL_SSL_MANAGER_H_ 124 #endif // CONTENT_BROWSER_SSL_SSL_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_cert_error_handler.cc ('k') | content/browser/ssl/ssl_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698