| Index: chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappActivityTestBase.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappActivityTestBase.java b/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappActivityTestBase.java
|
| index 5cbce869b3b65db1587c5895c34658ebc164cfa4..f5daf1afef973d817935073c830f5f7567515b93 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappActivityTestBase.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappActivityTestBase.java
|
| @@ -28,6 +28,7 @@ public abstract class WebappActivityTestBase extends ChromeActivityTestCaseBase<
|
| static final String WEBAPP_ID = "webapp_id";
|
| static final String WEBAPP_NAME = "webapp name";
|
| static final String WEBAPP_SHORT_NAME = "webapp short name";
|
| + static final String WEBAPP_URL = "https://www.google.com";
|
|
|
| // Empty 192x192 image generated with:
|
| // ShortcutHelper.encodeBitmapAsString(Bitmap.createBitmap(192, 192, Bitmap.Config.ARGB_4444));
|
| @@ -91,7 +92,8 @@ public abstract class WebappActivityTestBase extends ChromeActivityTestCaseBase<
|
| // Register the webapp so when the data storage is opened, the test doesn't crash. There is
|
| // no race condition with the retrival as AsyncTasks are run sequentially on the background
|
| // thread.
|
| - WebappRegistry.registerWebapp(getInstrumentation().getTargetContext(), WEBAPP_ID);
|
| + WebappRegistry.registerWebapp(getInstrumentation().getTargetContext(),
|
| + WEBAPP_ID, WEBAPP_URL);
|
| }
|
|
|
| /**
|
|
|