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

Unified Diff: net/quic/crypto/properties_based_quic_server_info.cc

Issue 2041863002: Remove HttpServerProperies::GetWeakPtr(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 6 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/quic/crypto/properties_based_quic_server_info.cc
diff --git a/net/quic/crypto/properties_based_quic_server_info.cc b/net/quic/crypto/properties_based_quic_server_info.cc
index 708f44a4f4a1246554dc9d05676a9c3e837b1e69..5522f6c06064dc71503c4733d7caaf08057049c2 100644
--- a/net/quic/crypto/properties_based_quic_server_info.cc
+++ b/net/quic/crypto/properties_based_quic_server_info.cc
@@ -14,7 +14,7 @@ namespace net {
PropertiesBasedQuicServerInfo::PropertiesBasedQuicServerInfo(
const QuicServerId& server_id,
- base::WeakPtr<HttpServerProperties> http_server_properties)
+ HttpServerProperties* http_server_properties)
: QuicServerInfo(server_id),
http_server_properties_(http_server_properties) {
DCHECK(http_server_properties_);
@@ -55,7 +55,7 @@ void PropertiesBasedQuicServerInfo::Persist() {
void PropertiesBasedQuicServerInfo::OnExternalCacheHit() {}
PropertiesBasedQuicServerInfoFactory::PropertiesBasedQuicServerInfoFactory(
- base::WeakPtr<HttpServerProperties> http_server_properties)
+ HttpServerProperties* http_server_properties)
: http_server_properties_(http_server_properties) {}
PropertiesBasedQuicServerInfoFactory::~PropertiesBasedQuicServerInfoFactory() {}
« no previous file with comments | « net/quic/crypto/properties_based_quic_server_info.h ('k') | net/quic/crypto/properties_based_quic_server_info_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698