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

Unified Diff: net/quic/platform/api/quic_socket_address.h

Issue 2874333002: Construct QuicSocketAddressImpl in QuicChromiumPacketReadder and pass it by const&. (Closed)
Patch Set: Created 3 years, 7 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/quic/chromium/quic_chromium_packet_reader.cc ('k') | net/quic/platform/api/quic_socket_address.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/platform/api/quic_socket_address.h
diff --git a/net/quic/platform/api/quic_socket_address.h b/net/quic/platform/api/quic_socket_address.h
index 7d8bcdef1cb23212ee6d1076c564b3e578060321..8aac75340b26ff89b78cb8b79f18209066abaab0 100644
--- a/net/quic/platform/api/quic_socket_address.h
+++ b/net/quic/platform/api/quic_socket_address.h
@@ -24,10 +24,10 @@ class QUIC_EXPORT_PRIVATE QuicSocketAddress {
QuicSocketAddress(const QuicSocketAddress& other) = default;
QuicSocketAddress& operator=(const QuicSocketAddress& other) = default;
QuicSocketAddress& operator=(QuicSocketAddress&& other) = default;
- QUIC_EXPORT_PRIVATE friend bool operator==(QuicSocketAddress lhs,
- QuicSocketAddress rhs);
- QUIC_EXPORT_PRIVATE friend bool operator!=(QuicSocketAddress lhs,
- QuicSocketAddress rhs);
+ QUIC_EXPORT_PRIVATE friend bool operator==(const QuicSocketAddress& lhs,
+ const QuicSocketAddress& rhs);
+ QUIC_EXPORT_PRIVATE friend bool operator!=(const QuicSocketAddress& lhs,
+ const QuicSocketAddress& rhs);
bool IsInitialized() const;
std::string ToString() const;
« no previous file with comments | « net/quic/chromium/quic_chromium_packet_reader.cc ('k') | net/quic/platform/api/quic_socket_address.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698