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

Unified Diff: components/cronet/android/api/src/org/chromium/net/HttpUrlRequestListener.java

Issue 2339223002: Cronet API Refactoring (Closed)
Patch Set: Moved CronetSampleApp to AppCompat Created 4 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 side-by-side diff with in-line comments
Download patch
Index: components/cronet/android/api/src/org/chromium/net/HttpUrlRequestListener.java
diff --git a/components/cronet/android/api/src/org/chromium/net/HttpUrlRequestListener.java b/components/cronet/android/api/src/org/chromium/net/HttpUrlRequestListener.java
deleted file mode 100644
index 77682beb7eea9c97f46fe99a91e7c03409735000..0000000000000000000000000000000000000000
--- a/components/cronet/android/api/src/org/chromium/net/HttpUrlRequestListener.java
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.net;
-
-/**
- * Callback interface.
- * @deprecated Use {@link UrlRequest.Callback} instead.
- * {@hide as it's deprecated}
- */
-@Deprecated
-public interface HttpUrlRequestListener {
- /**
- * A callback invoked when the first chunk of the response has arrived and
- * response headers have been read. The listener can only call request
- * getHeader, getContentType and getContentLength. This method will always
- * be called before {@code onRequestComplete}.
- */
- void onResponseStarted(HttpUrlRequest request);
-
- /**
- * The listener should completely process the response in the callback
- * method. Immediately after the callback, the request object will be
- * recycled.
- */
- void onRequestComplete(HttpUrlRequest request);
-}

Powered by Google App Engine
This is Rietveld 408576698