Commit 58f09d89 authored by Jeevan Shikaram's avatar Jeevan Shikaram Committed by Commit Bot

[App Management] Change fake backend apps to have descriptive titles.

Change fake backend apps to have descriptive titles to allow for better
testing.

Bug: 906508
Change-Id: I749d2d7e0f25771cfbed462d6778deb12b8afb90
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1601017
Commit-Queue: Jeevan Shikaram <jshikaram@chromium.org>
Reviewed-by: default avatarcalamity <calamity@chromium.org>
Cr-Commit-Position: refs/heads/master@{#658462}
parent 5cceabd0
...@@ -20,23 +20,59 @@ cr.define('app_management', function() { ...@@ -20,23 +20,59 @@ cr.define('app_management', function() {
const /** @type {!Array<App>}*/ appList = [ const /** @type {!Array<App>}*/ appList = [
app_management.FakePageHandler.createApp( app_management.FakePageHandler.createApp(
'ahfgeienlihckogmohjhadlkjgocpleb', { 'blpcfgokakmgnkcojhhkbfblekacnbeo',
title: 'Web Store (system app)', {
installSource: InstallSource.kSystem title: 'Built in app, not implemented',
}), type: AppType.kBuiltIn,
installSource: InstallSource.kSystem,
},
),
app_management.FakePageHandler.createApp( app_management.FakePageHandler.createApp(
'aohghmighlieiainnegkcijnfilokake', 'aohghmighlieiainnegkcijnfilokake',
{title: 'Docs', type: AppType.kArc}), {
title: 'Arc app',
type: AppType.kArc,
installSource: InstallSource.kUser,
},
),
app_management.FakePageHandler.createApp( app_management.FakePageHandler.createApp(
'blpcfgokakmgnkcojhhkbfbldkacnbeo', 'blpcfgokakmgnkcojhhkbfbldkacnbeo',
{title: 'Youtube', type: AppType.kCrostini}), {
title: 'Crostini app, not implemented',
type: AppType.kCrostini,
installSource: InstallSource.kUser,
},
),
app_management.FakePageHandler.createApp( app_management.FakePageHandler.createApp(
'pjkljhegncpnkpknbcohdijeoejaedia', {title: 'Gmail'}), 'pjkljhegncpnkkknowihdijeoejaedia',
{
title: 'Chrome App',
type: AppType.kExtension,
},
),
app_management.FakePageHandler.createApp( app_management.FakePageHandler.createApp(
'aapocclcgogkmnckokdopfmhonfmgoek', { 'aapocclcdoekwnckovdopfmtonfmgok',
title: 'Slides (policy installed)', {
installSource: InstallSource.kPolicy title: 'Web App',
}), type: AppType.kWeb,
},
),
app_management.FakePageHandler.createApp(
'pjkljhegncpnkkknbcohdijeoejaedia',
{
title: 'Chrome App, OEM installed',
type: AppType.kExtension,
installSource: InstallSource.kOem,
},
),
app_management.FakePageHandler.createApp(
'aapocclcgogkmnckokdopfmhonfmgok',
{
title: 'Web App, policy installed',
type: AppType.kWeb,
installSource: InstallSource.kPolicy,
},
),
]; ];
this.handler.setApps(appList); this.handler.setApps(appList);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment