Chromium Code Reviews| 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 // Structure with information about a WebAPK. | |
| 11 struct WebApkInfo { | |
| 12 WebApkInfo(const std::string& short_name, | |
| 13 const std::string& package_name, | |
| 14 int shell_apk_version, | |
| 15 int version_code); | |
| 16 ~WebApkInfo(); | |
| 17 | |
| 18 // Short name of the WebAPK. | |
| 19 const std::string short_name; | |
| 20 | |
| 21 // Package name of the WebAPK. | |
| 22 const std::string package_name; | |
| 23 | |
| 24 // Shell APK version of the WebAPK. | |
| 25 const int shell_apk_version; | |
| 26 | |
| 27 // Version code of the WebAPK. | |
| 28 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
| |
| 29 }; | |
| 30 | |
| 31 #endif // CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INFO_H_ | |
| OLD | NEW |