summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/ui/webui/chromeos/account_migration_proxy_test.js
blob: a81f50bc8c0af7cffeaa0997a73ccbc7709b7c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2019 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.

/** @implements {account_migration.AccountMigrationBrowserProxy} */
class TestAccountMigrationBrowserProxy extends TestBrowserProxy {
  constructor() {
    super([
      'closeDialog',
      'reauthenticateAccount',
    ]);
  }

  /** @override */
  closeDialog() {
    this.methodCalled('closeDialog');
  }

  /** @override */
  reauthenticateAccount(account_email) {
    this.methodCalled('reauthenticateAccount', account_email);
  }
}