1 // Copyright (c) 2013 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.
5 #include "chromeos/network/network_profile.h"
7 #include "base/logging.h"
8 #include "base/stringprintf.h"
12 std::string
NetworkProfile::ToDebugString() const {
14 if (type() == NetworkProfile::TYPE_SHARED
) {
15 return base::StringPrintf("NetworkProfile(SHARED, %s)",
17 } else if (type() == NetworkProfile::TYPE_USER
) {
18 return base::StringPrintf("NetworkProfile(USER, %s, %s)",
26 } // namespace chromeos