#ifndef CHROMEOS_NETWORK_NETWORK_PROFILE_H_
#define CHROMEOS_NETWORK_NETWORK_PROFILE_H_
#include <string>
#include "chromeos/chromeos_export.h"
namespace chromeos {
struct CHROMEOS_EXPORT NetworkProfile {
enum Type {
TYPE_SHARED,
TYPE_USER
};
NetworkProfile(const std::string& profile_path,
const std::string& user_hash)
: path(profile_path),
userhash(user_hash) {
}
std::string path;
std::string userhash;
Type type() const {
return userhash.empty() ? TYPE_SHARED : TYPE_USER;
}
std::string ToDebugString() const;
};
}
#endif