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

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

Issue 2629573004: Add a chrome://webapks page. (Closed)
Patch Set: Makes the listWebApks method receive a callback on the Java side Created 3 years, 11 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
new file mode 100644
index 0000000000000000000000000000000000000000..3bc910a9e7b5820f28eb6a29c164c75e1484a24d
--- /dev/null
+++ b/chrome/browser/android/webapk/webapk_info.cc
@@ -0,0 +1,18 @@
+// 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(std::string short_name,
+ std::string package_name,
+ int shell_apk_version,
+ int version_code)
+ : short_name(short_name),
+ package_name(package_name),
+ shell_apk_version(shell_apk_version),
+ version_code(version_code) {}
+
+WebApkInfo::WebApkInfo(const WebApkInfo& other) = default;
+
+WebApkInfo::~WebApkInfo() {}

Powered by Google App Engine
This is Rietveld 408576698