fake_network_list_network_header_view_delegate.cc 733 B

123456789101112131415161718192021222324
  1. // Copyright 2022 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "ash/system/network/fake_network_list_network_header_view_delegate.h"
  5. namespace ash {
  6. FakeNetworkListNetworkHeaderViewDelegate::
  7. FakeNetworkListNetworkHeaderViewDelegate() {}
  8. FakeNetworkListNetworkHeaderViewDelegate::
  9. ~FakeNetworkListNetworkHeaderViewDelegate() = default;
  10. void FakeNetworkListNetworkHeaderViewDelegate::OnMobileToggleClicked(
  11. bool new_state) {
  12. mobile_toggle_clicked_count_++;
  13. }
  14. void FakeNetworkListNetworkHeaderViewDelegate::OnWifiToggleClicked(
  15. bool new_state) {
  16. wifi_toggle_clicked_count_++;
  17. }
  18. } // namespace ash