card unmasking prompt - Change expiration date spinners to text inputs, as per mocks.
[chromium-blink-merge.git] / chromeos / network / network_profile.cc
blobf01b268beea9888012a5c4732802c97b6c682ace
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/strings/stringprintf.h"
10 namespace chromeos {
12 std::string NetworkProfile::ToDebugString() const {
13 if (type() == NetworkProfile::TYPE_SHARED) {
14 return base::StringPrintf("NetworkProfile(SHARED, %s)",
15 path.c_str());
16 } else if (type() == NetworkProfile::TYPE_USER) {
17 return base::StringPrintf("NetworkProfile(USER, %s, %s)",
18 path.c_str(),
19 userhash.c_str());
21 NOTREACHED();
22 return std::string();
25 } // namespace chromeos