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

Unified Diff: components/cronet/android/cronet_url_request_context_adapter.h

Issue 2102903004: [Cronet] Unregister NetLog observer during shutdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | components/cronet/android/cronet_url_request_context_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/android/cronet_url_request_context_adapter.h
diff --git a/components/cronet/android/cronet_url_request_context_adapter.h b/components/cronet/android/cronet_url_request_context_adapter.h
index 49c2c76fb78eb9e93cc56af87c41c2ed1be47135..7b764314e714c75fc1ad859bebcb9e472c662234 100644
--- a/components/cronet/android/cronet_url_request_context_adapter.h
+++ b/components/cronet/android/cronet_url_request_context_adapter.h
@@ -161,6 +161,10 @@ class CronetURLRequestContextAdapter
const base::TimeTicks& timestamp,
net::NetworkQualityObservationSource source) override;
+ // Helper method to stop NetLog logging to file. This can be called on any
+ // thread. This will flush any remaining writes to disk.
+ void StopNetLogHelper();
+
// Network thread is owned by |this|, but is destroyed from java thread.
base::Thread* network_thread_;
« no previous file with comments | « no previous file | components/cronet/android/cronet_url_request_context_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698