summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths_internal.h
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-03 17:36:49 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-03 17:36:49 +0000
commit0ba955b4e574625fd58307bca11613a5982ffe34 (patch)
treee44ed6ee99cb4f1f6e31afea8b112f3d7fbab380 /chrome/common/chrome_paths_internal.h
parentc47677eff181547b63ae86ac6cafd0169efee4f0 (diff)
downloadchromium_src-0ba955b4e574625fd58307bca11613a5982ffe34.zip
chromium_src-0ba955b4e574625fd58307bca11613a5982ffe34.tar.gz
chromium_src-0ba955b4e574625fd58307bca11613a5982ffe34.tar.bz2
Factor out platform specific chrome_paths calls into platform specific files.
Review URL: http://codereview.chromium.org/19760 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9088 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths_internal.h')
-rw-r--r--chrome/common/chrome_paths_internal.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/chrome/common/chrome_paths_internal.h b/chrome/common/chrome_paths_internal.h
new file mode 100644
index 0000000..a9912dd
--- /dev/null
+++ b/chrome/common/chrome_paths_internal.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_COMMON_CHROME_PATHS_INTERNAL_H_
+#define CHROME_COMMON_CHROME_PATHS_INTERNAL_H_
+
+class FilePath;
+
+namespace chrome {
+
+// Get the path to the user's data directory, regardless of whether
+// DIR_USER_DATA has been overridden by a command-line option.
+bool GetDefaultUserDataDirectory(FilePath* result);
+
+// Get the path to the user's documents directory. We use this to construct
+// the default download directory.
+bool GetUserDocumentsDirectory(FilePath* result);
+
+// The path to the user's desktop.
+bool GetUserDesktop(FilePath* result);
+
+} // namespace chrome
+
+
+#endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_