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

Unified Diff: chrome/browser/safe_browsing/browser_feature_extractor.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: chrome/browser/safe_browsing/browser_feature_extractor.cc
===================================================================
--- chrome/browser/safe_browsing/browser_feature_extractor.cc (revision 116288)
+++ chrome/browser/safe_browsing/browser_feature_extractor.cc (working copy)
@@ -29,6 +29,7 @@
#include "googleurl/src/gurl.h"
using content::BrowserThread;
+using content::NavigationController;
using content::NavigationEntry;
using content::WebContents;
@@ -51,7 +52,7 @@
static void AddNavigationFeatures(
const std::string& feature_prefix,
- const content::NavigationController& controller,
+ const NavigationController& controller,
int index,
const std::vector<GURL>& redirect_chain,
ClientPhishingRequest* request) {
@@ -156,7 +157,7 @@
}
// Extract features pertaining to this navigation.
- const content::NavigationController& controller = tab_->GetController();
+ const NavigationController& controller = tab_->GetController();
int url_index = -1;
int first_host_index = -1;
« no previous file with comments | « chrome/browser/repost_form_warning_controller.cc ('k') | chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698