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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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_client_auth_handler.cc ('k') | content/browser/ssl/ssl_manager.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 (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
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
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_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_client_auth_handler.cc ('k') | content/browser/ssl/ssl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698