blob: d9fa365a0d3e9e2b4fca72c3358851e00194107d [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.
cr.define('app_management', function() {
/** @implements {appManagement.mojom.PageHandlerInterface} */
class FakePageHandler {
constructor(page) {
/** @type {appManagement.mojom.PageInterface} */
this.page = page;
}
getApps() {
this.page.onAppsAdded(['asdfghjkl']);
}
}
return {FakePageHandler: FakePageHandler};
});