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

Unified Diff: content/browser/android/content_view_statics.cc

Issue 2803163002: Move address parser and prefixes to android_webview/. (Closed)
Patch Set: Bring back ContentViewStatics import Created 3 years, 8 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
« no previous file with comments | « android_webview/test/BUILD.gn ('k') | content/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/content_view_statics.cc
diff --git a/content/browser/android/content_view_statics.cc b/content/browser/android/content_view_statics.cc
index 980236e2e63c6a9233d98b360de9021128faf1cf..5ed75209868691b5ec4e8c6e870256924ae804dd 100644
--- a/content/browser/android/content_view_statics.cc
+++ b/content/browser/android/content_view_statics.cc
@@ -12,7 +12,6 @@
#include "base/logging.h"
#include "content/browser/android/content_view_statics.h"
#include "content/browser/renderer_host/render_process_host_impl.h"
-#include "content/common/android/address_parser.h"
#include "content/common/view_messages.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_process_host_observer.h"
@@ -92,18 +91,6 @@ base::LazyInstance<SuspendedProcessWatcher>::DestructorAtExit
} // namespace
-// Returns the first substring consisting of the address of a physical location.
-static ScopedJavaLocalRef<jstring> FindAddress(
- JNIEnv* env,
- const JavaParamRef<jclass>& clazz,
- const JavaParamRef<jstring>& addr) {
- base::string16 content_16 = ConvertJavaStringToUTF16(env, addr);
- base::string16 result_16;
- if (content::address_parser::FindAddress(content_16, &result_16))
- return ConvertUTF16ToJavaString(env, result_16);
- return ScopedJavaLocalRef<jstring>();
-}
-
static void SetWebKitSharedTimersSuspended(JNIEnv* env,
const JavaParamRef<jclass>& obj,
jboolean suspend) {
« no previous file with comments | « android_webview/test/BUILD.gn ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698