OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 package org.chromium.chrome.browser.webapps; |
| 6 |
| 7 /** |
| 8 * Interface for installing WebAPKs. |
| 9 */ |
| 10 public interface WebApkInstaller { |
| 11 /** |
| 12 * Installs a WebAPK. |
| 13 * @param filePath File to install. |
| 14 * @param packageName Package name to install WebAPK at. |
| 15 * @return True if the install was started. A "true" return value does not g
uarantee that the |
| 16 * install succeeds. |
| 17 */ |
| 18 boolean installAsync(String filePath, String packageName); |
| 19 } |
OLD | NEW |