| OLD | NEW | 
|---|
| 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_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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 85   // Insecure content entry point. | 85   // Insecure content entry point. | 
| 86   void DidRunInsecureContent(const std::string& security_origin); | 86   void DidRunInsecureContent(const std::string& security_origin); | 
| 87 | 87 | 
| 88   // Called to determine if there were any processed SSL errors from request. | 88   // Called to determine if there were any processed SSL errors from request. | 
| 89   bool ProcessedSSLErrorFromRequest() const; | 89   bool ProcessedSSLErrorFromRequest() const; | 
| 90 | 90 | 
| 91   // Entry point for navigation.  This function begins the process of updating | 91   // Entry point for navigation.  This function begins the process of updating | 
| 92   // the security UI when the main frame navigates to a new URL. | 92   // the security UI when the main frame navigates to a new URL. | 
| 93   // | 93   // | 
| 94   // Called on the UI thread. | 94   // Called on the UI thread. | 
| 95   virtual void Observe(NotificationType type, | 95   virtual void Observe(int type, | 
| 96                        const NotificationSource& source, | 96                        const NotificationSource& source, | 
| 97                        const NotificationDetails& details); | 97                        const NotificationDetails& details); | 
| 98 | 98 | 
| 99  private: | 99  private: | 
| 100   // Entry points for notifications to which we subscribe. Note that | 100   // Entry points for notifications to which we subscribe. Note that | 
| 101   // DidCommitProvisionalLoad uses the abstract NotificationDetails type since | 101   // DidCommitProvisionalLoad uses the abstract NotificationDetails type since | 
| 102   // the type we need is in NavigationController which would create a circular | 102   // the type we need is in NavigationController which would create a circular | 
| 103   // header file dependency. | 103   // header file dependency. | 
| 104   void DidLoadFromMemoryCache(LoadFromMemoryCacheDetails* details); | 104   void DidLoadFromMemoryCache(LoadFromMemoryCacheDetails* details); | 
| 105   void DidStartResourceResponse(ResourceRequestDetails* details); | 105   void DidStartResourceResponse(ResourceRequestDetails* details); | 
| (...skipping 13 matching lines...) Expand all  Loading... | 
| 119   // for the security UI of this tab. | 119   // for the security UI of this tab. | 
| 120   NavigationController* controller_; | 120   NavigationController* controller_; | 
| 121 | 121 | 
| 122   // Handles registering notifications with the NotificationService. | 122   // Handles registering notifications with the NotificationService. | 
| 123   NotificationRegistrar registrar_; | 123   NotificationRegistrar registrar_; | 
| 124 | 124 | 
| 125   DISALLOW_COPY_AND_ASSIGN(SSLManager); | 125   DISALLOW_COPY_AND_ASSIGN(SSLManager); | 
| 126 }; | 126 }; | 
| 127 | 127 | 
| 128 #endif  // CONTENT_BROWSER_SSL_SSL_MANAGER_H_ | 128 #endif  // CONTENT_BROWSER_SSL_SSL_MANAGER_H_ | 
| OLD | NEW | 
|---|