1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27

ash / system / network / fake_network_list_tether_hosts_header_view.cc [blame]

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

#include "ash/system/network/fake_network_list_tether_hosts_header_view.h"

#include "ash/constants/ash_features.h"
#include "ash/system/network/network_list_network_header_view.h"
#include "ash/system/network/network_list_tether_hosts_header_view.h"
#include "base/feature_list.h"
#include "ui/base/metadata/metadata_impl_macros.h"

namespace ash {

FakeNetworkListTetherHostsHeaderView::FakeNetworkListTetherHostsHeaderView(
    OnExpandedStateToggle callback)
    : NetworkListTetherHostsHeaderView(std::move(callback)) {
  DCHECK(base::FeatureList::IsEnabled(ash::features::kInstantHotspotRebrand));
}

FakeNetworkListTetherHostsHeaderView::~FakeNetworkListTetherHostsHeaderView() =
    default;

BEGIN_METADATA(FakeNetworkListTetherHostsHeaderView)
END_METADATA

}  // namespace ash