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

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

Issue 2487343005: Fix Thread::SetMessageLoop(nullptr). (Closed)
Patch Set: Merge up to r434093 Created 4 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/protocol_manager.h
diff --git a/chrome/browser/safe_browsing/protocol_manager.h b/chrome/browser/safe_browsing/protocol_manager.h
index 98bc17d6e577e4047e34f68cd60d7f14bc1642bc..fbe9c163f0d38b17f74afcf6ff675b62bb6f9e11 100644
--- a/chrome/browser/safe_browsing/protocol_manager.h
+++ b/chrome/browser/safe_browsing/protocol_manager.h
@@ -174,6 +174,8 @@ class SafeBrowsingProtocolManager : public net::URLFetcherDelegate {
// Returns whether another update is currently scheduled.
bool IsUpdateScheduled() const;
+ static base::TimeDelta GetUpdateTimeoutForTesting();
+
protected:
// Constructs a SafeBrowsingProtocolManager for |delegate| that issues
// network requests using |request_context_getter|.
@@ -280,7 +282,6 @@ class SafeBrowsingProtocolManager : public net::URLFetcherDelegate {
// Called after the chunks are added to the database.
void OnAddChunksComplete();
- private:
// Map of GetHash requests to parameters which created it.
struct FullHashDetails {
FullHashDetails();

Powered by Google App Engine
This is Rietveld 408576698