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

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

Issue 348037: Fourth patch in getting rid of caching MessageLoop pointers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/safe_browsing_service.h
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_service.h (revision 30688)
+++ chrome/browser/safe_browsing/safe_browsing_service.h (working copy)
@@ -23,7 +23,6 @@
#include "webkit/glue/resource_type.h"
class BloomFilter;
-class MessageLoop;
class PrefService;
class SafeBrowsingBlockingPage;
class SafeBrowsingDatabase;
@@ -68,14 +67,11 @@
SafeBrowsingService();
~SafeBrowsingService();
- // Initializes the service. io_loop is the message loop that the
- // caller of this service (ResourceDispatcherHost) wants to be notified on
- // for check results.
- void Initialize(MessageLoop* io_loop);
+ // Initializes the service.
+ void Initialize();
// Called to initialize objects that are used on the io_thread.
- void OnIOInitialize(MessageLoop* notify_loop,
- const std::string& client_key,
+ void OnIOInitialize(const std::string& client_key,
const std::string& wrapped_key);
// Called to initialize objects that are used on the db_thread.
@@ -234,8 +230,6 @@
void OnUpdateComplete(bool update_succeeded);
- MessageLoop* io_loop_;
-
typedef std::set<SafeBrowsingCheck*> CurrentChecks;
CurrentChecks checks_;
« no previous file with comments | « chrome/browser/safe_browsing/protocol_manager_unittest.cc ('k') | chrome/browser/safe_browsing/safe_browsing_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698