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

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

Issue 8983012: Get rid of content::NavigationController in cc file and use "using" instead. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 12 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
Index: content/browser/ssl/ssl_manager.cc
===================================================================
--- content/browser/ssl/ssl_manager.cc (revision 116288)
+++ content/browser/ssl/ssl_manager.cc (working copy)
@@ -24,6 +24,7 @@
#include "net/base/cert_status_flags.h"
using content::BrowserThread;
+using content::NavigationController;
using content::NavigationEntry;
using content::NavigationEntryImpl;
using content::SSLStatus;
@@ -109,7 +110,7 @@
// Subscribe to various notifications.
registrar_.Add(this, content::NOTIFICATION_FAIL_PROVISIONAL_LOAD_WITH_ERROR,
- content::Source<content::NavigationController>(controller_));
+ content::Source<:NavigationController>(controller_));
registrar_.Add(
this, content::NOTIFICATION_RESOURCE_RESPONSE_STARTED,
content::Source<WebContents>(controller_->tab_contents()));
@@ -118,7 +119,7 @@
content::Source<WebContents>(controller_->tab_contents()));
registrar_.Add(
this, content::NOTIFICATION_LOAD_FROM_MEMORY_CACHE,
- content::Source<content::NavigationController>(controller_));
+ content::Source<NavigationController>(controller_));
registrar_.Add(
this, content::NOTIFICATION_SSL_INTERNAL_STATE_CHANGED,
content::Source<content::BrowserContext>(
@@ -263,7 +264,7 @@
if (!entry->GetSSL().Equals(original_ssl_status)) {
content::NotificationService::current()->Notify(
content::NOTIFICATION_SSL_VISIBLE_STATE_CHANGED,
- content::Source<content::NavigationController>(controller_),
+ content::Source<NavigationController>(controller_),
content::NotificationService::NoDetails());
}
}
« no previous file with comments | « content/browser/speech/speech_input_browsertest.cc ('k') | content/browser/tab_contents/interstitial_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698