Index: net/nqe/network_quality.cc |
diff --git a/net/nqe/network_quality.cc b/net/nqe/network_quality.cc |
index 94bcc80357d6efaa21e77cecb44b9a90ced042fc..1132b0eb9e5a437e8562c483093550c14c9209c7 100644 |
--- a/net/nqe/network_quality.cc |
+++ b/net/nqe/network_quality.cc |
@@ -5,9 +5,7 @@ |
#include "net/nqe/network_quality.h" |
namespace net { |
- |
namespace nqe { |
- |
namespace internal { |
base::TimeDelta InvalidRTT() { |
@@ -40,8 +38,12 @@ NetworkQuality& NetworkQuality::operator=(const NetworkQuality& other) { |
return *this; |
} |
-} // namespace internal |
+bool NetworkQuality::operator==(const NetworkQuality& other) const { |
+ return http_rtt_ == other.http_rtt_ && |
+ transport_rtt_ == other.transport_rtt_ && |
+ downstream_throughput_kbps_ == other.downstream_throughput_kbps_; |
+} |
+} // namespace internal |
} // namespace nqe |
- |
} // namespace net |