Index: net/http/http_server_properties_manager.cc |
diff --git a/net/http/http_server_properties_manager.cc b/net/http/http_server_properties_manager.cc |
index 55aa0194c6ffff99fa1e789102e90a81f4f26a2f..08e4f6a5c00c18dad65e695ba26ca3efb7eebaaa 100644 |
--- a/net/http/http_server_properties_manager.cc |
+++ b/net/http/http_server_properties_manager.cc |
@@ -27,7 +27,13 @@ const int64 kUpdateCacheDelayMs = 1000; |
// Time to wait before starting an update the preferences from the |
// http_server_properties_impl_ cache. Scheduling another update during this |
// period will reset the timer. |
+// TODO(rtenneti): Remove OS_ANDROID ifdef after testing if flushing of |
+// AlternateProtocolHosts to disk in 500ms helps with QUIC's 0RTT or not. |
+#if defined(OS_ANDROID) |
+const int64 kUpdatePrefsDelayMs = 500; |
+#else |
const int64 kUpdatePrefsDelayMs = 5000; |
+#endif |
// "version" 0 indicates, http_server_properties doesn't have "version" |
// property. |