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

Side by Side Diff: ash/common/system/chromeos/network/network_info.cc

Issue 2698473007: Convert path usage in NetworkListViewBase subclasses to use guids. (Closed)
Patch Set: Tweak NetworkPortalNotificationControllerTest to create GUIDs for new NetworkStates. Created 3 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/common/system/chromeos/network/network_info.h" 5 #include "ash/common/system/chromeos/network/network_info.h"
6 6
7 namespace ash { 7 namespace ash {
8 8
9 NetworkInfo::NetworkInfo() 9 NetworkInfo::NetworkInfo()
10 : disable(false), 10 : disable(false),
11 highlight(false), 11 highlight(false),
12 connected(false), 12 connected(false),
13 connecting(false), 13 connecting(false),
14 type(Type::UNKNOWN) {} 14 type(Type::UNKNOWN) {}
15 15
16 NetworkInfo::NetworkInfo(const std::string& path) 16 NetworkInfo::NetworkInfo(const std::string& guid)
17 : service_path(path), 17 : guid(guid),
18 disable(false), 18 disable(false),
19 highlight(false), 19 highlight(false),
20 connected(false), 20 connected(false),
21 connecting(false), 21 connecting(false),
22 type(Type::UNKNOWN) {} 22 type(Type::UNKNOWN) {}
23 23
24 NetworkInfo::~NetworkInfo() {} 24 NetworkInfo::~NetworkInfo() {}
25 25
26 } // namespace ash 26 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/network/network_info.h ('k') | ash/common/system/chromeos/network/network_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698