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 901f26c67c208c70861fb09b9ed5af8716c7c49f..647cc0630742fe8db1f70a26a5e4355b8b664c15 100644 |
--- a/components/cronet/android/cronet_url_request_context_adapter.h |
+++ b/components/cronet/android/cronet_url_request_context_adapter.h |
@@ -79,8 +79,9 @@ class CronetURLRequestContextAdapter |
net::URLRequestContext* GetURLRequestContext(); |
- // Starts NetLog logging to file. This can be called on any thread. |
- void StartNetLogToFile(JNIEnv* env, |
+ // Starts NetLog logging to file. This can be called on any thread. Returns |
+ // false if it fails to open log file. |
+ bool StartNetLogToFile(JNIEnv* env, |
const base::android::JavaParamRef<jobject>& jcaller, |
const base::android::JavaParamRef<jstring>& jfile_name, |
jboolean jlog_all); |