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

Unified Diff: android_webview/native/aw_resource.cc

Issue 1270793002: [Android WebView] Put error page files into WebView resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added RTL direction support Created 5 years, 4 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/aw_resource.cc
diff --git a/android_webview/native/aw_resource.cc b/android_webview/native/aw_resource.cc
index 75f75b5b4522685e033ef77a24d4d02d196af7ca..b95b930918b24423463dfea32414c16d60a4727f 100644
--- a/android_webview/native/aw_resource.cc
+++ b/android_webview/native/aw_resource.cc
@@ -12,25 +12,6 @@
namespace android_webview {
namespace AwResource {
-// These JNI functions are used by the Renderer but rely on Java data
-// structures that exist in the Browser. By virtue of the WebView running
-// in single process we can just reach over and use them. When WebView is
-// multi-process capable, we'll need to rethink these. See crbug.com/156062.
-
-std::string GetLoadErrorPageContent() {
- JNIEnv* env = base::android::AttachCurrentThread();
- ScopedJavaLocalRef<jstring> content =
- Java_AwResource_getLoadErrorPageContent(env);
- return base::android::ConvertJavaStringToUTF8(content);
-}
-
-std::string GetNoDomainPageContent() {
- JNIEnv* env = base::android::AttachCurrentThread();
- ScopedJavaLocalRef<jstring> content =
- Java_AwResource_getNoDomainPageContent(env);
- return base::android::ConvertJavaStringToUTF8(content);
-}
-
std::vector<std::string> GetConfigKeySystemUuidMapping() {
JNIEnv* env = base::android::AttachCurrentThread();
std::vector<std::string> key_system_uuid_mappings;
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwResource.java ('k') | android_webview/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698