OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2017 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 #ifndef CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INFO_H_ |
| 6 #define CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INFO_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/macros.h" |
| 11 |
| 12 // Structure with information about a WebAPK. |
| 13 struct WebApkInfo { |
| 14 WebApkInfo(const std::string& short_name, |
| 15 const std::string& package_name, |
| 16 int shell_apk_version, |
| 17 int version_code); |
| 18 ~WebApkInfo(); |
| 19 |
| 20 // Short name of the WebAPK. |
| 21 const std::string short_name; |
| 22 |
| 23 // Package name of the WebAPK. |
| 24 const std::string package_name; |
| 25 |
| 26 // Shell APK version of the WebAPK. |
| 27 const int shell_apk_version; |
| 28 |
| 29 // Version code of the WebAPK. |
| 30 const int version_code; |
| 31 }; |
| 32 |
| 33 #endif // CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INFO_H_ |
OLD | NEW |