blob: 55ca71df2f3edc41b7e4a7be2461a19c0090ba6b [file] [log] [blame]
// Copyright 2018 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.
Polymer({
is: 'app-management-metadata-view',
properties: {
/** @type {appManagement.mojom.App} */
app: {
type: Object,
},
},
/**
* @return {string}
* @private
*/
versionString_: function(app) {
return loadTimeData.getStringF('version', assert(app.version));
},
/**
* @return {string}
* @private
*/
sizeString_: function(app) {
return loadTimeData.getStringF('size', assert(app.size));
},
});