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 #ifndef CHROMEOS_NETWORK_NETWORK_PROFILE_H_
6 #define CHROMEOS_NETWORK_NETWORK_PROFILE_H_
10 #include "chromeos/chromeos_export.h"
14 struct CHROMEOS_EXPORT NetworkProfile
{
16 TYPE_SHARED
, // Shared by all users on the device.
17 TYPE_USER
// Not visible to other users.
20 NetworkProfile(const std::string
& profile_path
,
21 const std::string
& user_hash
)
27 std::string userhash
; // Only set for user profiles.
30 return userhash
.empty() ? TYPE_SHARED
: TYPE_USER
;
33 std::string
ToDebugString() const;
36 } // namespace chromeos
38 #endif // CHROMEOS_NETWORK_NETWORK_PROFILE_H_