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

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

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/spellcheck_message_filter.h ('k') | chrome/browser/sync/engine/all_status.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) 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 CHROME_BROWSER_SSL_SSL_MANAGER_H_ 5 #ifndef CHROME_BROWSER_SSL_SSL_MANAGER_H_
6 #define CHROME_BROWSER_SSL_SSL_MANAGER_H_ 6 #define CHROME_BROWSER_SSL_SSL_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 int* cert_status, 65 int* cert_status,
66 int* security_bits, 66 int* security_bits,
67 int* connection_status); 67 int* connection_status);
68 68
69 // Returns "<organization_name> [<country>]". 69 // Returns "<organization_name> [<country>]".
70 static string16 GetEVCertName(const net::X509Certificate& cert); 70 static string16 GetEVCertName(const net::X509Certificate& cert);
71 71
72 // Construct an SSLManager for the specified tab. 72 // Construct an SSLManager for the specified tab.
73 // If |delegate| is NULL, SSLPolicy::GetDefaultPolicy() is used. 73 // If |delegate| is NULL, SSLPolicy::GetDefaultPolicy() is used.
74 explicit SSLManager(NavigationController* controller); 74 explicit SSLManager(NavigationController* controller);
75 ~SSLManager(); 75 virtual ~SSLManager();
76 76
77 SSLPolicy* policy() { return policy_.get(); } 77 SSLPolicy* policy() { return policy_.get(); }
78 SSLPolicyBackend* backend() { return &backend_; } 78 SSLPolicyBackend* backend() { return &backend_; }
79 79
80 // The navigation controller associated with this SSLManager. The 80 // The navigation controller associated with this SSLManager. The
81 // NavigationController is guaranteed to outlive the SSLManager. 81 // NavigationController is guaranteed to outlive the SSLManager.
82 NavigationController* controller() { return controller_; } 82 NavigationController* controller() { return controller_; }
83 83
84 // This entry point is called directly (instead of via the notification 84 // This entry point is called directly (instead of via the notification
85 // service) because we need more precise control of the order in which folks 85 // service) because we need more precise control of the order in which folks
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // for the security UI of this tab. 123 // for the security UI of this tab.
124 NavigationController* controller_; 124 NavigationController* controller_;
125 125
126 // Handles registering notifications with the NotificationService. 126 // Handles registering notifications with the NotificationService.
127 NotificationRegistrar registrar_; 127 NotificationRegistrar registrar_;
128 128
129 DISALLOW_COPY_AND_ASSIGN(SSLManager); 129 DISALLOW_COPY_AND_ASSIGN(SSLManager);
130 }; 130 };
131 131
132 #endif // CHROME_BROWSER_SSL_SSL_MANAGER_H_ 132 #endif // CHROME_BROWSER_SSL_SSL_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/spellcheck_message_filter.h ('k') | chrome/browser/sync/engine/all_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698