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

Unified Diff: components/cronet/ios/Cronet.h

Issue 2465303002: [cronet] make startNetLogToFile write to correct file (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | components/cronet/ios/Cronet.mm » ('j') | components/cronet/ios/Cronet.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/ios/Cronet.h
diff --git a/components/cronet/ios/Cronet.h b/components/cronet/ios/Cronet.h
index d87f4a6848881c0311a9fc252ebfe086babea851..72316d74070fa2120fd23816040cd210cc105bb4 100644
--- a/components/cronet/ios/Cronet.h
+++ b/components/cronet/ios/Cronet.h
@@ -78,7 +78,7 @@ CRONET_EXPORT
// by |logBytes| - if YES then LOG_ALL otherwise LOG_ALL_BUT_BYTES. If the file
// exists it is truncated before starting. If actively logging the call is
// ignored.
-+ (void)startNetLogToFile:(NSString*)fileName logBytes:(BOOL)logBytes;
++ (bool)startNetLogToFile:(NSString*)fileName logBytes:(BOOL)logBytes;
mef 2016/11/10 17:09:48 nit: ObjC uses capital BOOL.
kapishnikov 2016/11/10 20:52:17 If the method can fail, should we add NSError** as
lilyhoughton 2016/11/16 16:04:09 it can only fail in one way (unable to open file),
lilyhoughton 2016/11/16 16:04:10 Done.
kapishnikov 2016/11/18 22:17:27 It can actually fail for multiple reasons, e.g. th
// Stop net-internals logging and flush file to disk. If a logging session is
// not in progress this call is ignored.
« no previous file with comments | « no previous file | components/cronet/ios/Cronet.mm » ('j') | components/cronet/ios/Cronet.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698