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

Unified Diff: content/child/weburlresponse_extradata_impl.h

Issue 2183153002: NQE: Move ECT to net:: namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased, also fixed comnpilation error 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 | « content/browser/loader/resource_loader_unittest.cc ('k') | content/child/weburlresponse_extradata_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/weburlresponse_extradata_impl.h
diff --git a/content/child/weburlresponse_extradata_impl.h b/content/child/weburlresponse_extradata_impl.h
index 55e7231c2b8e55a5362e5eefcc862f5618a2770f..1529138d0a7c20d2e8e86a0fb78a68f1cda97b66 100644
--- a/content/child/weburlresponse_extradata_impl.h
+++ b/content/child/weburlresponse_extradata_impl.h
@@ -11,7 +11,7 @@
#include "base/macros.h"
#include "content/common/content_export.h"
#include "net/http/http_response_info.h"
-#include "net/nqe/network_quality_estimator.h"
+#include "net/nqe/effective_connection_type.h"
#include "third_party/WebKit/public/platform/WebURLResponse.h"
namespace content {
@@ -91,13 +91,11 @@ class CONTENT_EXPORT WebURLResponseExtraDataImpl :
bool is_using_lofi() const { return is_using_lofi_; }
void set_is_using_lofi(bool is_using_lofi) { is_using_lofi_ = is_using_lofi; }
- net::NetworkQualityEstimator::EffectiveConnectionType
- effective_connection_type() const {
+ net::EffectiveConnectionType effective_connection_type() const {
return effective_connection_type_;
}
void set_effective_connection_type(
- net::NetworkQualityEstimator::EffectiveConnectionType
- effective_connection_type) {
+ net::EffectiveConnectionType effective_connection_type) {
effective_connection_type_ = effective_connection_type;
}
@@ -111,8 +109,7 @@ class CONTENT_EXPORT WebURLResponseExtraDataImpl :
net::HttpResponseInfo::ConnectionInfo connection_info_;
bool was_alternate_protocol_available_;
bool is_using_lofi_;
- net::NetworkQualityEstimator::EffectiveConnectionType
- effective_connection_type_;
+ net::EffectiveConnectionType effective_connection_type_;
DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl);
};
« no previous file with comments | « content/browser/loader/resource_loader_unittest.cc ('k') | content/child/weburlresponse_extradata_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698