Chromium Code Reviews| Index: base/file_util.h |
| diff --git a/base/file_util.h b/base/file_util.h |
| index 431569aafa475ba17588e32f18b686697c48488a..ceb6b0f09b8e9d0dcee41deeca51268470878669 100644 |
| --- a/base/file_util.h |
| +++ b/base/file_util.h |
| @@ -227,6 +227,14 @@ BASE_EXPORT bool GetShmemTempDir(bool executable, FilePath* path); |
| // path service which will use this function but cache the value. |
| BASE_EXPORT FilePath GetHomeDir(); |
| +#if defined(OS_CHROMEOS) |
| +// Called when user is logged in on ChromeOS. |
| +BASE_EXPORT void SetUserLoggedIn(bool logged_in); |
| + |
| +// Called when primary logged in user id hash is available in on ChromeOS. |
| +BASE_EXPORT void SetPrimaryUserIdHash(std::string user_id_hash); |
|
Dmitry Polukhin
2014/03/14 16:35:25
I think we can use empty user_id_hash as sign that
Nikita (slow)
2014/03/14 16:39:52
Done.
|
| +#endif |
| + |
| // Creates a temporary file. The full path is placed in |path|, and the |
| // function returns true if was successful in creating the file. The file will |
| // be empty and all handles closed after this function returns. |