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

Unified Diff: base/chromeos/chromeos_version.h

Issue 10843041: Add OS_CHROMEOS case in file_util::GetHomeDir() (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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/chromeos/chromeos_version.cc » ('j') | base/chromeos/chromeos_version.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/chromeos/chromeos_version.h
diff --git a/base/chromeos/chromeos_version.h b/base/chromeos/chromeos_version.h
index 25acd43a9f0867357f7eaa3adabc892a8c5f24ab..fa956829de316a8625c4d47a7e5e9db5e71a81c3 100644
--- a/base/chromeos/chromeos_version.h
+++ b/base/chromeos/chromeos_version.h
@@ -5,6 +5,8 @@
#ifndef BASE_CHROMEOS_CHROMEOS_VERSION_H_
#define BASE_CHROMEOS_CHROMEOS_VERSION_H_
+#include <string>
+
#include "base/base_export.h"
namespace base {
@@ -14,6 +16,10 @@ namespace chromeos {
// Useful for implementing stubs for Linux desktop.
BASE_EXPORT bool IsRunningOnChromeOS();
+// Returns the home directory path, or an empty string if the home directory
+// is not found.
+BASE_EXPORT std::string GetHomeDirectory();
+
} // namespace chromeos
} // namespace base
« no previous file with comments | « no previous file | base/chromeos/chromeos_version.cc » ('j') | base/chromeos/chromeos_version.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698