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

Unified Diff: net/log/file_net_log_observer.h

Issue 2603523002: Move net-export thread-hopping code into NetLogFileWriter and add IO polled data. (Closed)
Patch Set: Fixed tommycli's nits from patchset 13 Created 3 years, 11 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 | « ios/chrome/browser/ui/webui/net_export/net_export_ui.cc ('k') | net/log/file_net_log_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/log/file_net_log_observer.h
diff --git a/net/log/file_net_log_observer.h b/net/log/file_net_log_observer.h
index f8a8d902831c790362b6ffa595c57ba6b9a3a832..b7c8a2fac427b551da5fac1b4b9250815f81cadd 100644
--- a/net/log/file_net_log_observer.h
+++ b/net/log/file_net_log_observer.h
@@ -109,10 +109,9 @@ class NET_EXPORT FileNetLogObserver : public NetLog::ThreadSafeObserver {
// once all file writing is complete and the netlog files can be accessed
// safely.
//
- // |url_request_context| is an optional argument used to add additional
- // network stack state to the log. If the context is non-NULL,
- // StopObserving() must be called on the context's thread.
- void StopObserving(URLRequestContext* url_request_context,
+ // |polled_data| is an optional argument used to add additional network stack
+ // state to the log.
+ void StopObserving(std::unique_ptr<base::Value> polled_data,
const base::Closure& callback);
// NetLog::ThreadSafeObserver
« no previous file with comments | « ios/chrome/browser/ui/webui/net_export/net_export_ui.cc ('k') | net/log/file_net_log_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698