OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ash/system/network/network_list_view_base.h" | 5 #include "ash/system/network/network_list_view_base.h" |
6 | 6 |
7 #include "base/logging.h" | |
8 | |
7 namespace ash { | 9 namespace ash { |
8 | 10 |
9 NetworkListViewBase::NetworkListViewBase() {} | 11 NetworkListViewBase::NetworkListViewBase( |
12 tray::NetworkStateListDetailedView* detailed_view) | |
13 : detailed_view_(detailed_view) { | |
14 DCHECK(detailed_view_); | |
tdanderson
2017/04/28 16:36:20
I am not sure if this DCHECK is necessary, since i
mohsen
2017/04/28 21:51:32
Yes, but this DCHECK here makes the contract expli
| |
15 } | |
10 | 16 |
11 NetworkListViewBase::~NetworkListViewBase() {} | 17 NetworkListViewBase::~NetworkListViewBase() {} |
12 | 18 |
13 } // namespace ash | 19 } // namespace ash |
OLD | NEW |