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

Unified Diff: components/cronet/android/cronet_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/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 da44d0f533fe0a644bd1d309059e39750b2514dc..35513391f5f9a4a60d09b09f3f53df77d53c4784 100644
--- a/components/cronet/android/cronet_url_request_context_adapter.h
+++ b/components/cronet/android/cronet_url_request_context_adapter.h
@@ -57,7 +57,8 @@ class CronetURLRequestContextAdapter {
net::URLRequestContext* GetURLRequestContext();
- void StartNetLogToFile(JNIEnv* env, jobject jcaller, jstring jfile_name);
+ void StartNetLogToFile(JNIEnv* env, jobject jcaller, jstring jfile_name,
+ jboolean jlog_all);
void StopNetLog(JNIEnv* env, jobject jcaller);
@@ -80,7 +81,8 @@ class CronetURLRequestContextAdapter {
scoped_refptr<base::SingleThreadTaskRunner> GetNetworkTaskRunner() const;
- void StartNetLogToFileOnNetworkThread(const std::string& file_name);
+ void StartNetLogToFileOnNetworkThread(const std::string& file_name,
+ bool log_all);
void StopNetLogOnNetworkThread();

Powered by Google App Engine
This is Rietveld 408576698