blob: 9703bd42867dc7600f4426b35041145be001b267 [file] [log] [blame]
ben768c8dc2016-08-12 00:26:501// Copyright 2016 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.
4
5#ifndef SERVICES_FILE_USER_ID_MAP_H_
6#define SERVICES_FILE_USER_ID_MAP_H_
7
8#include <string>
9#include "base/files/file_path.h"
10
11namespace file {
12
13// These methods are called from BrowserContext::Initialize() to associate
14// the BrowserContext's shell user-id with its user directory.
15void AssociateShellUserIdWithUserDir(const std::string& user_id,
16 const base::FilePath& user_dir);
17void ForgetShellUserIdUserDirAssociation(const std::string& user_id);
18
19base::FilePath GetUserDirForUserId(const std::string& user_id);
20
21} // namespace file
22
23#endif // SERVICES_FILE_USER_ID_MAP_H_