Index: components/cronet/android/url_request_context_adapter.cc |
diff --git a/components/cronet/android/url_request_context_adapter.cc b/components/cronet/android/url_request_context_adapter.cc |
index 6ce58d06931b8992fb7f8717892ad9c146f4d05c..45ed5fb85ec53dd3910ebdd2f1367075c707d01e 100644 |
--- a/components/cronet/android/url_request_context_adapter.cc |
+++ b/components/cronet/android/url_request_context_adapter.cc |
@@ -21,7 +21,7 @@ |
#include "net/http/http_auth_handler_factory.h" |
#include "net/http/http_network_layer.h" |
#include "net/http/http_server_properties.h" |
-#include "net/log/net_log_logger.h" |
+#include "net/log/write_to_file_net_log_observer.h" |
#include "net/proxy/proxy_service.h" |
#include "net/ssl/ssl_config_service_defaults.h" |
#include "net/url_request/static_http_user_agent_settings.h" |
@@ -285,7 +285,7 @@ void URLRequestContextAdapter::StartNetLogToFileHelper( |
if (!file) |
return; |
- net_log_logger_.reset(new net::NetLogLogger()); |
+ net_log_logger_.reset(new net::WriteToFileNetLogObserver()); |
net_log_logger_->StartObserving(context_->net_log(), file.Pass(), nullptr, |
context_.get()); |
} |