Index: chrome/browser/android/webapk/webapk_info.h |
diff --git a/chrome/browser/android/webapk/webapk_info.h b/chrome/browser/android/webapk/webapk_info.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..804e6f9667f116ab0c873df8521dac77e7f963e8 |
--- /dev/null |
+++ b/chrome/browser/android/webapk/webapk_info.h |
@@ -0,0 +1,31 @@ |
+// Copyright (c) 2017 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. |
+ |
+#ifndef CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INFO_H_ |
+#define CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INFO_H_ |
+ |
+#include <string> |
+ |
+// Structure with information about a WebAPK. |
+struct WebApkInfo { |
+ WebApkInfo(const std::string& short_name, |
+ const std::string& package_name, |
+ int shell_apk_version, |
+ int version_code); |
+ ~WebApkInfo(); |
+ |
+ // Short name of the WebAPK. |
+ const std::string short_name; |
+ |
+ // Package name of the WebAPK. |
+ const std::string package_name; |
+ |
+ // Shell APK version of the WebAPK. |
+ const int shell_apk_version; |
+ |
+ // Version code of the WebAPK. |
+ const int version_code; |
dominickn
2017/01/23 00:48:07
#include "base/macros.h"
private:
DISALLOW_COP
pkotwicz
2017/01/23 15:44:51
I know that it is normal to DISALLOW_COPY_AND_ASSI
gonzalon
2017/01/23 16:58:51
I'm having some trouble with this. I updated the r
dominickn
2017/01/24 02:55:22
For now, Chromium's style guide is to use DISALLOW
|
+}; |
+ |
+#endif // CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INFO_H_ |