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

Unified Diff: net/nqe/network_quality.h

Issue 2128793003: Factor out NetworkID and caching mechanism from n_q_e.{h,cc} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed asvitkine comments Created 4 years, 5 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/nqe/network_id.h ('k') | net/nqe/network_quality.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/nqe/network_quality.h
diff --git a/net/nqe/network_quality.h b/net/nqe/network_quality.h
index bc1ec771d688d8af0500a1b61265f5941fcb0acf..dc32ef4e9eb3e103cc2292506c0cc76628947d45 100644
--- a/net/nqe/network_quality.h
+++ b/net/nqe/network_quality.h
@@ -13,9 +13,7 @@
#include "net/base/net_export.h"
namespace net {
-
namespace nqe {
-
namespace internal {
// Returns the RTT value to be used when the valid RTT is unavailable. Readers
@@ -43,6 +41,8 @@ class NET_EXPORT_PRIVATE NetworkQuality {
NetworkQuality& operator=(const NetworkQuality& other);
+ bool operator==(const NetworkQuality& other) const;
+
// Returns the estimate of the round trip time at the HTTP layer.
const base::TimeDelta& http_rtt() const { return http_rtt_; }
@@ -77,9 +77,7 @@ class NET_EXPORT_PRIVATE NetworkQuality {
};
} // namespace internal
-
} // namespace nqe
-
} // namespace net
#endif // NET_NQE_NETWORK_QUALITY_H_
« no previous file with comments | « net/nqe/network_id.h ('k') | net/nqe/network_quality.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698