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

Unified Diff: url/url_util.h

Issue 23468003: Allow fragments to resolve relatively against any scheme (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: really fix Created 7 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
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | url/url_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/url_util.h
diff --git a/url/url_util.h b/url/url_util.h
index 44948190e3c49e834622bd94dc368f58eac7f232..9f17dcf06f95ddaba69b0252326ab8eb693477ee 100644
--- a/url/url_util.h
+++ b/url/url_util.h
@@ -35,6 +35,13 @@ URL_EXPORT void Initialize();
// library.
URL_EXPORT void Shutdown();
+// Enables certain URL processing to work in a manner more like how KURL would
+// have worked in classic (pre-blink) WebKit. This is only required for Android
+// WebView compatibility.
+// This should only be configured during initialization; subsequent calls are
+// only permitted for testing.
+URL_EXPORT void SetKURLCompatMode(bool enable);
+
// Schemes --------------------------------------------------------------------
// Adds an application-defined scheme to the internal list of "standard" URL
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | url/url_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698