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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java

Issue 23724029: Adding a getter for base url (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updating comment Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java b/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java
index ad214a8b34a91af7accc9290e68e0322f0d938de..ba9619377f41b20f520741413c33d21838950125 100644
--- a/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java
+++ b/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java
@@ -167,6 +167,13 @@ public class LoadUrlParams {
}
/**
+ * Return the base url for a data url, otherwise null.
+ */
+ public String getBaseUrl() {
+ return mBaseUrlForDataUrl;
+ }
+
+ /**
* Set load type of this load. Defaults to LOAD_TYPE_DEFAULT.
* @param loadType One of LOAD_TYPE static constants above.
*/
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698