Chromium Code Reviews| Index: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkBuilder.java |
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkBuilder.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkBuilder.java |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2246617dac8082cbe7f72940d1ec8ba4449b7214 |
| --- /dev/null |
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkBuilder.java |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +package org.chromium.chrome.browser.webapps; |
| + |
| +import android.graphics.Bitmap; |
| + |
| +/** |
| + * Interface for building WebAPKs. |
| + */ |
| +public interface WebApkBuilder { |
| + /** |
| + * Asynchronously build WebAPK. |
| + * @param startUrl: The url that the WebAPK should navigate to when launched from the app list. |
|
gone
2016/06/07 22:59:43
Javadocs don't add colons after argument names
pkotwicz
2016/06/08 02:06:45
Done.
|
| + * @param scope: Navigations from the WebAPK to URLs with sub-origin {@link scope} will stay |
| + * within the WebAPK. |
| + * @param appName: Name for the app list. |
| + * @param icon: Icon for the app list. |
| + */ |
| + void buildWebApkAsync(String startUrl, String scope, String appName, Bitmap appIcon); |
| +} |