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

Unified Diff: android_webview/native/android_protocol_handler.h

Issue 2863233002: [WebView] Move files from native to browser (Closed)
Patch Set: Created 3 years, 7 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/android_protocol_handler.h
diff --git a/android_webview/native/android_protocol_handler.h b/android_webview/native/android_protocol_handler.h
deleted file mode 100644
index e003b0e562d741b3246ee454a7bfb51d590d4465..0000000000000000000000000000000000000000
--- a/android_webview/native/android_protocol_handler.h
+++ /dev/null
@@ -1,36 +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_ANDROID_PROTOCOL_HANDLER_H_
-#define ANDROID_WEBVIEW_NATIVE_ANDROID_PROTOCOL_HANDLER_H_
-
-#include <memory>
-
-#include "base/android/jni_android.h"
-
-namespace net {
-class URLRequestInterceptor;
-} // namespace net
-
-namespace android_webview {
-
-// These methods create interceptors for Android WebView-specific schemes:
-//
-// - "content:" scheme is used for accessing data from Android content
-// providers, see http://developer.android.com/guide/topics/providers/
-// content-provider-basics.html#ContentURIs
-std::unique_ptr<net::URLRequestInterceptor>
-CreateContentSchemeRequestInterceptor();
-
-// - "file:" scheme extension for accessing application assets and resources
-// (file:///android_asset/ and file:///android_res/), see
-// http://developer.android.com/reference/android/webkit/
-// WebSettings.html#setAllowFileAccess(boolean)
-std::unique_ptr<net::URLRequestInterceptor> CreateAssetFileRequestInterceptor();
-
-bool RegisterAndroidProtocolHandler(JNIEnv* env);
-
-} // namespace android_webview
-
-#endif // ANDROID_WEBVIEW_NATIVE_ANDROID_PROTOCOL_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698