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

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

Issue 566833003: Rename Cronet AsyncUrlRequestXYZ interfaces into UrlRequestXYZ. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 package org.chromium.net;
mmenke 2014/09/15 16:10:55 nit: Blank line before package
mef 2014/09/15 16:17:59 Done.
5
6 import java.util.concurrent.Executor;
7
8 /**
9 * Url request factory using Chromium HTTP stack implementation.
10 */
11 public class CronetUrlRequestFactory implements UrlRequestFactory {
mef 2014/09/15 16:17:59 I've named this 'CronetUrlRequest[Factory]' to avi
mmenke 2014/09/15 16:23:32 I think we may want to combine the two factories,
12 @Override
13 public UrlRequest createRequest(String url, UrlRequestListener listener,
14 Executor executor) {
15 CronetUrlRequest request = new CronetUrlRequest();
mmenke 2014/09/15 16:10:55 Any reason not to just use: return new CronetUrlR
mef 2014/09/15 16:17:59 Done.
16 return request;
17 }
18 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698