Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(969)

Side by Side Diff: ash/system/network/network_list_view_base.cc

Issue 2843163003: Remove NetworkListDelegate (Closed)
Patch Set: Cleanup Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698