#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOUNT_MANAGER_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_MOUNT_MANAGER_H_
#include <map>
#include <string>
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
class PrefRegistrySimple;
namespace chromeos {
class MountManager {
public:
static MountManager* Get();
static base::FilePath GetHomeDir(std::string& user_hash);
virtual ~MountManager();
virtual bool IsMounted(const std::string& user_id);
virtual base::FilePath GetPath(const std::string& user_id);
virtual void SetPath(const std::string& user_id,
const base::FilePath& path);
virtual void DeletePath(const std::string& user_id);
private:
MountManager();
typedef std::map<std::string, base::FilePath> UserToPathMap;
UserToPathMap additional_mounts_;
static MountManager* instance_;
DISALLOW_COPY_AND_ASSIGN(MountManager);
};
}
#endif