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

Unified Diff: net/http/http_server_properties_manager.h

Issue 2681383002: HttpServerPropertiesManager and tests cleanup (Closed)
Patch Set: simplify tests Created 3 years, 10 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: 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 e860fb536c13b421a3d2d01b9140a0a8c9b325b9..d2e6fc30849cfd3163df6ba1de1273ecafa06363 100644
--- a/net/http/http_server_properties_manager.h
+++ b/net/http/http_server_properties_manager.h
@@ -190,10 +190,6 @@ class NET_EXPORT HttpServerPropertiesManager : public HttpServerProperties {
// execute only one update per simultaneous prefs changes.
void ScheduleUpdateCacheOnPrefThread();
- // Starts the timers to update the cached prefs. This are overridden in tests
- // to prevent the delay.
- virtual void StartCacheUpdateTimerOnPrefThread(base::TimeDelta delay);
-
// Update cached prefs in |http_server_properties_impl_| with data from
// preferences. It gets the data on pref thread and calls
// UpdateSpdyServersFromPrefsOnNetworkThread() to perform the update on
@@ -216,10 +212,6 @@ class NET_EXPORT HttpServerPropertiesManager : public HttpServerProperties {
// |location| specifies where this method is called from. Virtual for testing.
virtual void ScheduleUpdatePrefsOnNetworkThread(Location location);
- // Starts the timers to update the prefs from cache. This are overridden in
- // tests to prevent the delay.
- virtual void StartPrefsUpdateTimerOnNetworkThread(base::TimeDelta delay);
-
// Update prefs::kHttpServerProperties in preferences with the cached data
// from |http_server_properties_impl_|. This gets the data on network thread
// and posts a task (UpdatePrefsOnPrefThread) to update preferences on pref
« no previous file with comments | « no previous file | net/http/http_server_properties_manager.cc » ('j') | net/http/http_server_properties_manager_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698