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

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

Issue 8573018: Convert to base::Callback in safe_browsing client-side-detection code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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
diff --git a/chrome/browser/safe_browsing/client_side_detection_host.h b/chrome/browser/safe_browsing/client_side_detection_host.h
index 3d2401d8d0c81ae958f321dc1a0d4e77311e9969..29428a7c18eeea73ee05a40f2e21a69a8ae5d1ad 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host.h
+++ b/chrome/browser/safe_browsing/client_side_detection_host.h
@@ -121,7 +121,7 @@ class ClientSideDetectionHost : public TabContentsObserver,
// Handles registering notifications with the NotificationService.
content::NotificationRegistrar registrar_;
- base::ScopedCallbackFactory<ClientSideDetectionHost> cb_factory_;
+ base::WeakPtrFactory<ClientSideDetectionHost> weak_factory_;
// Unique page ID of the most recent unsafe site that was loaded in this tab
// as well as the UnsafeResource.

Powered by Google App Engine
This is Rietveld 408576698