summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths_mac.cc
blob: 788ffc1942e7213a3c6e3533a17646a42bb88199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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