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

Unified Diff: chrome/browser/safe_browsing/client_side_detection_host.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/client_side_detection_host.h
===================================================================
--- chrome/browser/safe_browsing/client_side_detection_host.h (revision 115777)
+++ chrome/browser/safe_browsing/client_side_detection_host.h (working copy)
@@ -34,8 +34,8 @@
public SafeBrowsingService::Observer {
public:
// The caller keeps ownership of the tab object and is responsible for
- // ensuring that it stays valid until TabContentsDestroyed is called.
- static ClientSideDetectionHost* Create(TabContents* tab);
+ // ensuring that it stays valid until WebContentsDestroyed is called.
+ static ClientSideDetectionHost* Create(content::WebContents* tab);
virtual ~ClientSideDetectionHost();
// From content::WebContentsObserver.
@@ -62,7 +62,7 @@
class ShouldClassifyUrlRequest;
friend class ShouldClassifyUrlRequest;
- explicit ClientSideDetectionHost(TabContents* tab);
+ explicit ClientSideDetectionHost(content::WebContents* tab);
// Verdict is an encoded ClientPhishingRequest protocol message.
void OnPhishingDetectionDone(const std::string& verdict);
« no previous file with comments | « chrome/browser/safe_browsing/browser_feature_extractor.cc ('k') | chrome/browser/safe_browsing/client_side_detection_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698