chromium/chrome/test/data/webui/intro/test_intro_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 type {IntroBrowserProxy} from 'chrome://intro/browser_proxy.js';
import {TestBrowserProxy} from 'chrome://webui-test/test_browser_proxy.js';

export class TestIntroBrowserProxy extends TestBrowserProxy implements
    IntroBrowserProxy {
  constructor() {
    super([
      'continueWithAccount',
      'continueWithoutAccount',
      'initializeMainView',
    ]);
  }

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

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

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