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

Unified Diff: net/quic/chromium/properties_based_quic_server_info.h

Issue 2820573004: Remove the code to store and load QUIC server configs in the disk cache. (Closed)
Patch Set: Fix Created 3 years, 8 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
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/quic/chromium/properties_based_quic_server_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/chromium/properties_based_quic_server_info.h
diff --git a/net/quic/chromium/properties_based_quic_server_info.h b/net/quic/chromium/properties_based_quic_server_info.h
index 35ebb9b718d2c480f86b66f6bf7f2665ac0d604f..df85a9d816fe08d2ba38b5ac63367dd05262b6f1 100644
--- a/net/quic/chromium/properties_based_quic_server_info.h
+++ b/net/quic/chromium/properties_based_quic_server_info.h
@@ -30,14 +30,8 @@ class QUIC_EXPORT_PRIVATE PropertiesBasedQuicServerInfo
~PropertiesBasedQuicServerInfo() override;
// QuicServerInfo implementation.
- void Start() override;
- int WaitForDataReady(const CompletionCallback& callback) override;
- void ResetWaitForDataReadyCallback() override;
- void CancelWaitForDataReadyCallback() override;
- bool IsDataReady() override;
- bool IsReadyToPersist() override;
+ bool Load() override;
void Persist() override;
- void OnExternalCacheHit() override;
size_t EstimateMemoryUsage() const override;
private:
@@ -46,22 +40,6 @@ class QUIC_EXPORT_PRIVATE PropertiesBasedQuicServerInfo
DISALLOW_COPY_AND_ASSIGN(PropertiesBasedQuicServerInfo);
};
-class QUIC_EXPORT_PRIVATE PropertiesBasedQuicServerInfoFactory
- : public QuicServerInfoFactory {
- public:
- explicit PropertiesBasedQuicServerInfoFactory(
- HttpServerProperties* http_server_properties);
- ~PropertiesBasedQuicServerInfoFactory() override;
-
- std::unique_ptr<QuicServerInfo> GetForServer(
- const QuicServerId& server_id) override;
-
- private:
- HttpServerProperties* http_server_properties_;
-
- DISALLOW_COPY_AND_ASSIGN(PropertiesBasedQuicServerInfoFactory);
-};
-
} // namespace net
#endif // NET_QUIC_CHROMIUM_PROPERTIES_BASED_QUIC_SERVER_INFO_H_
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/quic/chromium/properties_based_quic_server_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698