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

Unified Diff: content/browser/ssl/ssl_client_auth_handler.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/ssl/ssl_client_auth_handler.h ('k') | content/browser/ssl/ssl_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ssl/ssl_client_auth_handler.cc
===================================================================
--- content/browser/ssl/ssl_client_auth_handler.cc (revision 91968)
+++ content/browser/ssl/ssl_client_auth_handler.cc (working copy)
@@ -58,7 +58,7 @@
SSLClientAuthNotificationDetails details(cert_request_info_, cert);
NotificationService* service = NotificationService::current();
- service->Notify(NotificationType::SSL_CLIENT_AUTH_CERT_SELECTED,
+ service->Notify(content::NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED,
Source<SSLClientAuthHandler>(this),
Details<SSLClientAuthNotificationDetails>(&details));
@@ -111,12 +111,12 @@
}
void SSLClientAuthObserver::Observe(
- NotificationType type,
+ int type,
const NotificationSource& source,
const NotificationDetails& details) {
VLOG(1) << "SSLClientAuthObserver::Observe " << this << " " << handler_.get();
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- DCHECK(type == NotificationType::SSL_CLIENT_AUTH_CERT_SELECTED);
+ DCHECK(type == content::NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED);
if (Source<SSLClientAuthHandler>(source).ptr() == handler_.get()) {
VLOG(1) << "got notification from ourself " << handler_.get();
@@ -138,9 +138,9 @@
void SSLClientAuthObserver::StartObserving() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- notification_registrar_.Add(this,
- NotificationType::SSL_CLIENT_AUTH_CERT_SELECTED,
- NotificationService::AllSources());
+ notification_registrar_.Add(
+ this, content::NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED,
+ NotificationService::AllSources());
}
void SSLClientAuthObserver::StopObserving() {
« no previous file with comments | « content/browser/ssl/ssl_client_auth_handler.h ('k') | content/browser/ssl/ssl_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698