diff options
Diffstat (limited to 'chrome/common/chrome_paths_mac.cc')
-rw-r--r-- | chrome/common/chrome_paths_mac.cc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/chrome/common/chrome_paths_mac.cc b/chrome/common/chrome_paths_mac.cc new file mode 100644 index 0000000..788ffc1 --- /dev/null +++ b/chrome/common/chrome_paths_mac.cc @@ -0,0 +1,32 @@ +// 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/base_paths.h" +#include "base/file_path.h" +#include "base/logging.h" +#include "base/path_service.h" + +namespace chrome { + +bool GetDefaultUserDataDirectory(FilePath* result) { + if (!PathService::Get(base::DIR_LOCAL_APP_DATA, result)) + return false; + return true; +} + +bool GetUserDocumentsDirectory(FilePath* result) { + // TODO(port) + NOTIMPLEMENTED(); + return false; +} + +bool GetUserDesktop(FilePath* result) { + // TODO(port) + NOTIMPLEMENTED(); + return false; +} + +} // namespace chrome |