summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths_linux.cc
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_linux.cc
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_linux.cc')
-rw-r--r--chrome/common/chrome_paths_linux.cc31
1 files changed, 31 insertions, 0 deletions
diff --git a/chrome/common/chrome_paths_linux.cc b/chrome/common/chrome_paths_linux.cc
new file mode 100644
index 0000000..c2654bb
--- /dev/null
+++ b/chrome/common/chrome_paths_linux.cc
@@ -0,0 +1,31 @@
+// 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.
+
+#include "chrome/common/chrome_paths_internal.h"
+
+#include "base/logging.h"
+
+namespace chrome {
+
+bool GetDefaultUserDataDirectory(FilePath* result) {
+ // TODO(port): Decide what to do on linux.
+ NOTIMPLEMENTED();
+ return false;
+}
+
+bool GetUserDocumentsDirectory(FilePath* result) {
+ // TODO(port): Get the path (possibly using xdg-user-dirs)
+ // or decide we don't need it on other platforms.
+ NOTIMPLEMENTED();
+ return false;
+}
+
+bool GetUserDesktop(FilePath* result) {
+ // TODO(port): Get the path (possibly using xdg-user-dirs)
+ // or decide we don't need it on other platforms.
+ NOTIMPLEMENTED();
+ return false;
+}
+
+} // namespace chrome