chromium/chrome/test/data/webui/chromeos/settings/parental_controls_page/test_parental_controls_browser_proxy.ts

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import {ParentalControlsBrowserProxy} from 'chrome://os-settings/os_settings.js';
import {TestBrowserProxy} from 'chrome://webui-test/test_browser_proxy.js';

export class TestParentalControlsBrowserProxy extends TestBrowserProxy
    implements ParentalControlsBrowserProxy {
  constructor() {
    super([
      'showAddSupervisionDialog',
      'launchFamilyLinkSettings',
    ]);
  }

  launchFamilyLinkSettings() {
    this.methodCalled('launchFamilyLinkSettings');
  }

  showAddSupervisionDialog() {
    this.methodCalled('showAddSupervisionDialog');
  }
}