Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / components / cronet / android / java / src / org / chromium / net / CronetUrlRequestFactory.java
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 import java.util.concurrent.Executor;
8
9 /**
10  * UrlRequest factory using Chromium HTTP stack implementation.
11  */
12 public class CronetUrlRequestFactory implements UrlRequestFactory {
13     @Override
14     public UrlRequest createRequest(String url, UrlRequestListener listener,
15                                     Executor executor) {
16         return new CronetUrlRequest();
17     }
18 }