Adding a fake on page started for data url's since we know it wont be sent

Fix for bug 10570052

Change-Id: Ib4d6373da2601e0165a9f44160d2d465daeadcdf
diff --git a/chromium/java/com/android/webview/chromium/WebViewChromium.java b/chromium/java/com/android/webview/chromium/WebViewChromium.java
index a4cd531..c88ae90 100644
--- a/chromium/java/com/android/webview/chromium/WebViewChromium.java
+++ b/chromium/java/com/android/webview/chromium/WebViewChromium.java
@@ -500,6 +500,16 @@
             }
         }
         loadUrlOnUiThread(loadUrlParams);
+
+        // Data url's with a base url will be resolved in Blink, and not cause an onPageStarted
+        // event to be sent. Sending the callback directly from here.
+        final String finalBaseUrl = loadUrlParams.getBaseUrl();
+        ThreadUtils.postOnUiThread(new Runnable() {
+            @Override
+            public void run() {
+                mContentsClientAdapter.onPageStarted(finalBaseUrl);
+            }
+        });
     }
 
     private void loadUrlOnUiThread(final LoadUrlParams loadUrlParams) {