| 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
|
| index e6cd84da4db83450601f85cba4871458c5659d5e..2b4735cd173fcc9deab8f5096f0ee9becbb99dfb 100644
|
| --- a/chrome/browser/android/webapk/webapk_info.cc
|
| +++ b/chrome/browser/android/webapk/webapk_info.cc
|
| @@ -2,15 +2,38 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include <utility>
|
| +
|
| #include "chrome/browser/android/webapk/webapk_info.h"
|
|
|
| -WebApkInfo::WebApkInfo(std::string short_name,
|
| +WebApkInfo::WebApkInfo(std::string name,
|
| + std::string short_name,
|
| std::string package_name,
|
| int shell_apk_version,
|
| - int version_code)
|
| - : short_name(std::move(short_name)),
|
| + int version_code,
|
| + std::string uri,
|
| + std::string scope,
|
| + std::string manifest_url,
|
| + std::string manifest_start_url,
|
| + blink::WebDisplayMode display,
|
| + blink::WebScreenOrientationLockType orientation,
|
| + int64_t theme_color,
|
| + int64_t background_color)
|
| + : name(std::move(name)),
|
| + short_name(std::move(short_name)),
|
| package_name(std::move(package_name)),
|
| shell_apk_version(shell_apk_version),
|
| - version_code(version_code) {}
|
| + version_code(version_code),
|
| + uri(std::move(uri)),
|
| + scope(std::move(scope)),
|
| + manifest_url(std::move(manifest_url)),
|
| + manifest_start_url(std::move(manifest_start_url)),
|
| + display(display),
|
| + orientation(orientation),
|
| + theme_color(theme_color),
|
| + background_color(background_color) {}
|
|
|
| WebApkInfo::~WebApkInfo() {}
|
| +
|
| +WebApkInfo& WebApkInfo::operator=(WebApkInfo&& rhs) = default;
|
| +WebApkInfo::WebApkInfo(WebApkInfo&& other) = default;
|
|
|