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

Side by Side 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, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <utility>
6
5 #include "chrome/browser/android/webapk/webapk_info.h" 7 #include "chrome/browser/android/webapk/webapk_info.h"
6 8
7 WebApkInfo::WebApkInfo(std::string short_name, 9 WebApkInfo::WebApkInfo(std::string name,
10 std::string short_name,
8 std::string package_name, 11 std::string package_name,
9 int shell_apk_version, 12 int shell_apk_version,
10 int version_code) 13 int version_code,
11 : short_name(std::move(short_name)), 14 std::string uri,
15 std::string scope,
16 std::string manifest_url,
17 std::string manifest_start_url,
18 blink::WebDisplayMode display,
19 blink::WebScreenOrientationLockType orientation,
20 int64_t theme_color,
21 int64_t background_color)
22 : name(std::move(name)),
23 short_name(std::move(short_name)),
12 package_name(std::move(package_name)), 24 package_name(std::move(package_name)),
13 shell_apk_version(shell_apk_version), 25 shell_apk_version(shell_apk_version),
14 version_code(version_code) {} 26 version_code(version_code),
27 uri(std::move(uri)),
28 scope(std::move(scope)),
29 manifest_url(std::move(manifest_url)),
30 manifest_start_url(std::move(manifest_start_url)),
31 display(display),
32 orientation(orientation),
33 theme_color(theme_color),
34 background_color(background_color) {}
15 35
16 WebApkInfo::~WebApkInfo() {} 36 WebApkInfo::~WebApkInfo() {}
37
38 WebApkInfo& WebApkInfo::operator=(WebApkInfo&& rhs) = default;
39 WebApkInfo::WebApkInfo(WebApkInfo&& other) = default;
OLDNEW
« no previous file with comments | « chrome/browser/android/webapk/webapk_info.h ('k') | chrome/browser/android/webapk/webapk_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698