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

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

Issue 566833003: Rename Cronet AsyncUrlRequestXYZ interfaces into UrlRequestXYZ. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments. Created 6 years, 3 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 /** 7 /**
8 * Async request using the native HTTP stack implementation. 8 * UrlRequest using Chromium HTTP stack implementation.
9 */ 9 */
10 public class ChromiumAsyncUrlRequest implements AsyncUrlRequest { 10 public class CronetUrlRequest implements UrlRequest {
11 @Override 11 @Override
12 public void setHttpMethod(String method) { 12 public void setHttpMethod(String method) {
13 13
14 } 14 }
15 15
16 @Override 16 @Override
17 public void addHeader(String header, String value) { 17 public void addHeader(String header, String value) {
18 18
19 } 19 }
20 20
21 @Override 21 @Override
22 public void start(AsyncUrlRequestListener listener) { 22 public void start(UrlRequestListener listener) {
23 23
24 } 24 }
25 25
26 @Override 26 @Override
27 public void cancel() { 27 public void cancel() {
28 28
29 } 29 }
30 30
31 @Override 31 @Override
32 public boolean isCanceled() { 32 public boolean isCanceled() {
33 return false; 33 return false;
34 } 34 }
35 35
36 @Override 36 @Override
37 public void pause() { 37 public void pause() {
38 38
39 } 39 }
40 40
41 @Override 41 @Override
42 public boolean isPaused() { 42 public boolean isPaused() {
43 return false; 43 return false;
44 } 44 }
45 45
46 @Override 46 @Override
47 public void resume() { 47 public void resume() {
48 48
49 } 49 }
50 } 50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698