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

Side by Side Diff: components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequestFactory.java

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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.net; 5 package org.chromium.net;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.os.Build; 8 import android.os.Build;
9 9
10 import org.chromium.base.annotations.UsedByReflection; 10 import org.chromium.base.annotations.UsedByReflection;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 @Override 52 @Override
53 public ChromiumUrlRequest createRequest(String url, int requestPriority, 53 public ChromiumUrlRequest createRequest(String url, int requestPriority,
54 Map<String, String> headers, WritableByteChannel channel, 54 Map<String, String> headers, WritableByteChannel channel,
55 HttpUrlRequestListener listener) { 55 HttpUrlRequestListener listener) {
56 return new ChromiumUrlRequest(mRequestContext, url, requestPriority, 56 return new ChromiumUrlRequest(mRequestContext, url, requestPriority,
57 headers, channel, listener); 57 headers, channel, listener);
58 } 58 }
59 59
60 @Override 60 @Override
61 public void startNetLogToFile(String fileName) { 61 public void startNetLogToFile(String fileName, boolean logAll) {
62 mRequestContext.startNetLogToFile(fileName); 62 mRequestContext.startNetLogToFile(fileName, logAll);
63 } 63 }
64 64
65 @Override 65 @Override
66 public void stopNetLog() { 66 public void stopNetLog() {
67 mRequestContext.stopNetLog(); 67 mRequestContext.stopNetLog();
68 } 68 }
69 69
70 public ChromiumUrlRequestContext getRequestContext() { 70 public ChromiumUrlRequestContext getRequestContext() {
71 return mRequestContext; 71 return mRequestContext;
72 } 72 }
73 } 73 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698