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

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

Issue 8345033: Collect some histograms about signed binary downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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/safe_browsing_service.h
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_service.h (revision 106177)
+++ chrome/browser/safe_browsing/safe_browsing_service.h (working copy)
@@ -18,6 +18,7 @@
#include "base/hash_tables.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/synchronization/lock.h"
#include "base/task.h"
@@ -50,6 +51,7 @@
// Construction needs to happen on the main thread.
class SafeBrowsingService
: public base::RefCountedThreadSafe<SafeBrowsingService>,
+ public base::SupportsWeakPtr<SafeBrowsingService>,
mattm 2011/10/19 18:54:12 Are you aiming to make SafeBrowsingService not ref
Brian Ryner 2011/10/19 19:20:11 So, the issue I'm trying to address here is that c
mattm 2011/10/19 20:04:10 Still thinking this through, but I think we could:
mattm 2011/10/19 20:06:07 Oh, the one thing I forgot to mention: Since we ar
public NotificationObserver {
public:
class Client;

Powered by Google App Engine
This is Rietveld 408576698