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

Unified Diff: android_webview/java/src/org/chromium/android_webview/InterceptedRequestData.java

Issue 284123004: [android_webview] Add more params to request intercepting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix accidentally broken test Created 6 years, 6 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: android_webview/java/src/org/chromium/android_webview/InterceptedRequestData.java
diff --git a/android_webview/java/src/org/chromium/android_webview/InterceptedRequestData.java b/android_webview/java/src/org/chromium/android_webview/InterceptedRequestData.java
deleted file mode 100644
index 78f93820150b5f0f7086a048e28ff6b2c922d877..0000000000000000000000000000000000000000
--- a/android_webview/java/src/org/chromium/android_webview/InterceptedRequestData.java
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2012 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.android_webview;
-
-import org.chromium.base.CalledByNative;
-import org.chromium.base.JNINamespace;
-
-import java.io.InputStream;
-
-/**
- * The response information that is to be returned for a particular resource fetch.
- */
-@JNINamespace("android_webview")
-public class InterceptedRequestData {
- private String mMimeType;
- private String mCharset;
- private InputStream mData;
-
- public InterceptedRequestData(String mimeType, String encoding, InputStream data) {
- mMimeType = mimeType;
- mCharset = encoding;
- mData = data;
- }
-
- @CalledByNative
- public String getMimeType() {
- return mMimeType;
- }
-
- @CalledByNative
- public String getCharset() {
- return mCharset;
- }
-
- @CalledByNative
- public InputStream getData() {
- return mData;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698