Chromium Code Reviews| Index: chrome/browser/android/webapk/webapk_info.cc |
| diff --git a/chrome/browser/android/webapk/webapk_info.cc b/chrome/browser/android/webapk/webapk_info.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..33ef4d741dcc09c5c18be34ec0a59a6a11eae5d0 |
| --- /dev/null |
| +++ b/chrome/browser/android/webapk/webapk_info.cc |
| @@ -0,0 +1,16 @@ |
| +// 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. |
| + |
| +#include "chrome/browser/android/webapk/webapk_info.h" |
| + |
| +WebApkInfo::WebApkInfo(const std::string short_name, |
|
pkotwicz
2017/01/20 16:57:17
This should be:
const std::string& short_name,
Pa
gonzalon
2017/01/20 19:27:01
Done.
|
| + const std::string package_name, |
|
pkotwicz
2017/01/20 16:57:17
This should be:
const std::string& package_name,
gonzalon
2017/01/20 19:27:01
Done.
|
| + const int shell_apk_version, |
|
pkotwicz
2017/01/20 16:57:17
This does not need to be const. Passing ints by co
gonzalon
2017/01/20 19:27:01
Done.
|
| + const int version_code) |
|
pkotwicz
2017/01/20 16:57:17
This does not need to be const.
gonzalon
2017/01/20 19:27:01
Done.
|
| + : short_name(short_name), |
| + package_name(package_name), |
| + shell_apk_version(shell_apk_version), |
| + version_code(version_code) {} |
| + |
| +WebApkInfo::~WebApkInfo() {} |