Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(872)

Unified Diff: base/file_util.h

Issue 200473002: Move all callers of GetHomeDir() to PathService::Get(base::DIR_HOME). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/file_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | base/file_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698