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

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

Issue 884003004: Rename org.chromium.cronet_test_apk to org.chromium.net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 10 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.cronet_test_apk; 5 package org.chromium.net;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 8
9 import org.chromium.base.JNINamespace; 9 import org.chromium.base.JNINamespace;
10 10
11 /** 11 /**
12 * Helper class to set up url interceptors for testing purposes. 12 * Helper class to set up url interceptors for testing purposes.
13 */ 13 */
14 @JNINamespace("cronet") 14 @JNINamespace("cronet")
15 public final class MockUrlRequestJobFactory { 15 public final class MockUrlRequestJobFactory {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 private static native void nativeAddUrlInterceptors(String installedPath); 76 private static native void nativeAddUrlInterceptors(String installedPath);
77 77
78 private static native String nativeGetMockUrl(String path); 78 private static native String nativeGetMockUrl(String path);
79 79
80 private static native String nativeGetMockUrlWithFailure(String path, 80 private static native String nativeGetMockUrlWithFailure(String path,
81 int phase, int netError); 81 int phase, int netError);
82 82
83 private static native String nativeGetMockUrlForData(String data, 83 private static native String nativeGetMockUrlForData(String data,
84 int dataRepeatCount); 84 int dataRepeatCount);
85 } 85 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698