Chromium Code Reviews| Index: components/cronet/android/java/src/org/chromium/net/HttpUrlRequestFactory.java |
| diff --git a/components/cronet/android/java/src/org/chromium/net/HttpUrlRequestFactory.java b/components/cronet/android/java/src/org/chromium/net/HttpUrlRequestFactory.java |
| index 14ba209d711e93d9932a1a20638d82d9c00e6bc6..a1bf213913ca8c04a8f4e548e20d37e1d1d5bdd0 100644 |
| --- a/components/cronet/android/java/src/org/chromium/net/HttpUrlRequestFactory.java |
| +++ b/components/cronet/android/java/src/org/chromium/net/HttpUrlRequestFactory.java |
| @@ -64,8 +64,12 @@ public abstract class HttpUrlRequestFactory { |
| * application temporary directory. |fileName| must not be empty. Log may |
| * contain user's personal information (PII). If the file exists it is |
| * truncated before starting. If actively logging the call is ignored. |
| + * @param fileName The complete file path. It must not be empty. If file |
| + * exists, it is truncated before starting. |
| + * @param logAll {@code true} to also include all transferred bytes in the |
| + * log. |
| */ |
| - public abstract void startNetLogToFile(String fileName); |
| + public abstract void startNetLogToFile(String fileName, boolean logAll); |
|
miloslav
2015/04/17 14:15:03
Would making this an int (the actual log level pas
eroman
2015/04/17 21:35:10
I am in favor of a boolean rather than an integer.
kallasjoki
2015/05/06 13:58:57
I've kept it as the boolean default-or-all choice,
|
| /** |
| * Stops NetLog logging and flushes file to disk. If a logging session is |