Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1201)

Unified Diff: chrome/browser/android/webapk/webapk_info.cc

Issue 2714633003: Adds more metadata to the about:webapks page (Closed)
Patch Set: Adds more metadata to the about:webapks page Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..2bef5bc43b31844a92cca434430c6989924ff1aa 100644
--- a/chrome/browser/android/webapk/webapk_info.cc
+++ b/chrome/browser/android/webapk/webapk_info.cc
@@ -2,15 +2,35 @@
// 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() {}

Powered by Google App Engine
This is Rietveld 408576698