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 12a22600115ba6979ac54789ce9414238e28898f..0f1da1a43d73aafbd90f24eb0dcc13b199513739 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 |
@@ -47,6 +47,7 @@ public class LoadUrlParams { |
String mBaseUrlForDataUrl; |
String mVirtualUrlForDataUrl; |
boolean mCanLoadLocalResources; |
+ boolean mIsRendererInitiated; |
/** |
* Creates an instance with default page transition type. |
@@ -359,6 +360,20 @@ public class LoadUrlParams { |
return mLoadUrlType; |
} |
+ /** |
+ * @param rendererInitiated Whether or not this load was initiated from a renderer or not. |
Ted C
2014/05/15 00:57:00
the trailing or not isn't needed here (or the foll
David Trainor- moved to gerrit
2014/05/15 18:22:14
Done.
|
+ */ |
+ public void setIsRendererInitiated(boolean rendererInitiated) { |
+ mIsRendererInitiated = rendererInitiated; |
+ } |
+ |
+ /** |
+ * @return Whether or not this load was initiated from a renderer or not. |
+ */ |
+ public boolean getIsRendererInitiated() { |
+ return mIsRendererInitiated; |
+ } |
+ |
public boolean isBaseUrlDataScheme() { |
// If there's no base url set, but this is a data load then |
// treat the scheme as data:. |