| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.webapk.lib.client; | 5 package org.chromium.webapk.lib.client; |
| 6 | 6 |
| 7 import static org.chromium.webapk.lib.common.WebApkConstants.WEB_APK_PACKAGE_PRE
FIX; | 7 import static org.chromium.webapk.lib.common.WebApkConstants.WEB_APK_PACKAGE_PRE
FIX; |
| 8 | 8 |
| 9 import android.content.Context; | 9 import android.content.Context; |
| 10 import android.content.Intent; | 10 import android.content.Intent; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 /** | 114 /** |
| 115 * Initializes the WebApkValidator with the expected signature that WebAPKs
must be signed | 115 * Initializes the WebApkValidator with the expected signature that WebAPKs
must be signed |
| 116 * with for the current host. | 116 * with for the current host. |
| 117 * @param expectedSignature | 117 * @param expectedSignature |
| 118 */ | 118 */ |
| 119 public static void initWithBrowserHostSignature(byte[] expectedSignature) { | 119 public static void initWithBrowserHostSignature(byte[] expectedSignature) { |
| 120 sExpectedSignature = expectedSignature; | 120 sExpectedSignature = expectedSignature; |
| 121 } | 121 } |
| 122 } | 122 } |
| OLD | NEW |