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

Unified Diff: chrome/browser/safe_browsing/browser_feature_extractor.h

Issue 9030010: Move most of the remaining users of WebContentsObserver::tab_contents() to use web_contents(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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.h
===================================================================
--- chrome/browser/safe_browsing/browser_feature_extractor.h (revision 115777)
+++ chrome/browser/safe_browsing/browser_feature_extractor.h (working copy)
@@ -28,8 +28,11 @@
#include "googleurl/src/gurl.h"
class HistoryService;
-class TabContents;
+namespace content {
+class WebContents;
+}
+
namespace safe_browsing {
class ClientPhishingRequest;
class ClientSideDetectionService;
@@ -69,7 +72,7 @@
// The caller keeps ownership of the tab and service objects and is
// responsible for ensuring that they stay valid for the entire
// lifetime of this object.
- BrowserFeatureExtractor(TabContents* tab,
+ BrowserFeatureExtractor(content::WebContents* tab,
ClientSideDetectionService* service);
// The destructor will cancel any pending requests.
@@ -146,7 +149,7 @@
// is set it will return true and false otherwise.
bool GetHistoryService(HistoryService** history);
- TabContents* tab_;
+ content::WebContents* tab_;
ClientSideDetectionService* service_;
CancelableRequestConsumer request_consumer_;
base::WeakPtrFactory<BrowserFeatureExtractor> weak_factory_;
« no previous file with comments | « chrome/browser/prerender/prerender_contents.cc ('k') | chrome/browser/safe_browsing/browser_feature_extractor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698