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

Side by Side Diff: components/cronet/android/test/src/org/chromium/net/CronetTestActivity.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.app.Activity; 7 import android.app.Activity;
8 import android.content.Intent; 8 import android.content.Intent;
9 import android.os.Bundle; 9 import android.os.Bundle;
10 import android.os.Environment; 10 import android.os.Environment;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 return mLoading; 183 return mLoading;
184 } 184 }
185 185
186 public int getHttpStatusCode() { 186 public int getHttpStatusCode() {
187 return mHttpStatusCode; 187 return mHttpStatusCode;
188 } 188 }
189 189
190 public void startNetLog() { 190 public void startNetLog() {
191 mRequestFactory.startNetLogToFile( 191 mRequestFactory.startNetLogToFile(
192 Environment.getExternalStorageDirectory().getPath() 192 Environment.getExternalStorageDirectory().getPath()
193 + "/cronet_sample_netlog.json"); 193 + "/cronet_sample_netlog.json",
194 false);
194 } 195 }
195 196
196 public void stopNetLog() { 197 public void stopNetLog() {
197 mRequestFactory.stopNetLog(); 198 mRequestFactory.stopNetLog();
198 } 199 }
199 } 200 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698