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

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

Issue 520093002: Initial declaration of Cronet Async API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync 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
(Empty)
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
3 // found in the LICENSE file.
4
5 package org.chromium.net;
6
7 /**
8 * Async request using the native HTTP stack implementation.
9 */
10 public class ChromiumAsyncUrlRequest implements AsyncUrlRequest {
11 @Override
12 public void setHttpMethod(String method) {
13
14 }
15
16 @Override
17 public void addHeader(String header, String value) {
18
19 }
20
21 @Override
22 public void start(AsyncUrlRequestListener listener) {
23
24 }
25
26 @Override
27 public void cancel() {
28
29 }
30
31 @Override
32 public boolean isCanceled() {
33 return false;
34 }
35
36 @Override
37 public void pause() {
38
39 }
40
41 @Override
42 public boolean isPaused() {
43 return false;
44 }
45
46 @Override
47 public void resume() {
48
49 }
50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698