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

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

Issue 1093793002: Allow setting Cronet NetLog level to LOG_ALL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: components/cronet/android/url_request_context_adapter.h
diff --git a/components/cronet/android/url_request_context_adapter.h b/components/cronet/android/url_request_context_adapter.h
index bc741f178ed870703024ee099821138f6fe4477d..7741ccd2353583821ff3473a895889b592ba7e35 100644
--- a/components/cronet/android/url_request_context_adapter.h
+++ b/components/cronet/android/url_request_context_adapter.h
@@ -82,7 +82,7 @@ class URLRequestContextAdapter : public net::URLRequestContextGetter {
scoped_refptr<base::SingleThreadTaskRunner> GetNetworkTaskRunner()
const override;
- void StartNetLogToFile(const std::string& file_name);
+ void StartNetLogToFile(const std::string& file_name, bool log_all);
void StopNetLog();
// Called on main Java thread to initialize URLRequestContext.
@@ -96,7 +96,7 @@ class URLRequestContextAdapter : public net::URLRequestContextGetter {
// Helper function to start writing NetLog data to file. This should only be
// run after context is initialized.
- void StartNetLogToFileHelper(const std::string& file_name);
+ void StartNetLogToFileHelper(const std::string& file_name, bool log_all);
// Helper function to stop writing NetLog data to file. This should only be
// run after context is initialized.
void StopNetLogHelper();

Powered by Google App Engine
This is Rietveld 408576698