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

Unified Diff: net/http/http_server_properties_manager.h

Issue 2562843002: Change SequencedTaskRunner to SingleThreadTaskRunner in HttpServerPropertiesManager (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | net/http/http_server_properties_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_server_properties_manager.h
diff --git a/net/http/http_server_properties_manager.h b/net/http/http_server_properties_manager.h
index 4658f507de61caa961b1a92bdede0af400ab36c5..e1c47ff913daa3d72a5e848cc3e17f88dc215d68 100644
--- a/net/http/http_server_properties_manager.h
+++ b/net/http/http_server_properties_manager.h
@@ -23,7 +23,7 @@
#include "net/http/http_server_properties_impl.h"
namespace base {
-class SequencedTaskRunner;
+class SingleThreadTaskRunner;
}
namespace net {
@@ -84,7 +84,7 @@ class NET_EXPORT HttpServerPropertiesManager : public HttpServerProperties {
// Must be constructed on the Pref thread.
HttpServerPropertiesManager(
PrefDelegate* pref_delegate,
- scoped_refptr<base::SequencedTaskRunner> network_task_runner);
+ scoped_refptr<base::SingleThreadTaskRunner> network_task_runner);
~HttpServerPropertiesManager() override;
// Initialize on Network thread.
@@ -277,7 +277,7 @@ class NET_EXPORT HttpServerPropertiesManager : public HttpServerProperties {
// Pref thread
// -----------
- const scoped_refptr<base::SequencedTaskRunner> pref_task_runner_;
+ const scoped_refptr<base::SingleThreadTaskRunner> pref_task_runner_;
base::WeakPtr<HttpServerPropertiesManager> pref_weak_ptr_;
@@ -291,7 +291,7 @@ class NET_EXPORT HttpServerPropertiesManager : public HttpServerProperties {
// Network thread
// --------------
- const scoped_refptr<base::SequencedTaskRunner> network_task_runner_;
+ const scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
// Used to post |prefs::kHttpServerProperties| pref update tasks.
std::unique_ptr<base::OneShotTimer> network_prefs_update_timer_;
« no previous file with comments | « no previous file | net/http/http_server_properties_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698