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

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: Rebase Created 5 years, 7 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 54609118eca5ea8efa8781c50611147cd6678216..539a76afde093974f3e59cb3dcb620e5bcfd9527 100644
--- a/components/cronet/android/url_request_context_adapter.h
+++ b/components/cronet/android/url_request_context_adapter.h
@@ -80,7 +80,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.
@@ -94,7 +94,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