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

Unified Diff: android_webview/native/intercepted_request_data_impl.h

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/native/intercepted_request_data_impl.h
diff --git a/android_webview/native/intercepted_request_data_impl.h b/android_webview/native/intercepted_request_data_impl.h
deleted file mode 100644
index 598b31932105fb921a770842169e58103da9cbf8..0000000000000000000000000000000000000000
--- a/android_webview/native/intercepted_request_data_impl.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 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.
-
-#ifndef ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_
-#define ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_
-
-#include "android_webview/browser/intercepted_request_data.h"
-#include "base/android/scoped_java_ref.h"
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-
-namespace android_webview {
-
-class InputStream;
-
-class InterceptedRequestDataImpl : public InterceptedRequestData {
- public:
- // It is expected that |obj| is an instance of the Java-side
- // org.chromium.android_webview.InterceptedRequestData class.
- InterceptedRequestDataImpl(const base::android::JavaRef<jobject>& obj);
- virtual ~InterceptedRequestDataImpl();
-
- virtual scoped_ptr<InputStream> GetInputStream(JNIEnv* env) const OVERRIDE;
- virtual bool GetMimeType(JNIEnv* env, std::string* mime_type) const OVERRIDE;
- virtual bool GetCharset(JNIEnv* env, std::string* charset) const OVERRIDE;
-
- private:
- base::android::ScopedJavaGlobalRef<jobject> java_object_;
-
- DISALLOW_COPY_AND_ASSIGN(InterceptedRequestDataImpl);
-};
-
-bool RegisterInterceptedRequestData(JNIEnv* env);
-
-} // namespace android_webview
-
-#endif // ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_
« no previous file with comments | « android_webview/native/aw_web_resource_response_impl.cc ('k') | android_webview/native/intercepted_request_data_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698