| Index: base/base_paths_posix.cc
|
| diff --git a/base/base_paths_posix.cc b/base/base_paths_posix.cc
|
| index 9be441d6d2616baa2458a3ed44b5ee1332db5963..d4535d9f04e3d6e1689ff4e84addbcdf730c3934 100644
|
| --- a/base/base_paths_posix.cc
|
| +++ b/base/base_paths_posix.cc
|
| @@ -2,12 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "base/base_paths.h"
|
| -
|
| #include <ostream>
|
| #include <string>
|
|
|
| #include "build/build_config.h"
|
| +#include "base/base_paths.h"
|
| +#include "base/base_paths_posix.h"
|
| #include "base/environment.h"
|
| #include "base/file_path.h"
|
| #include "base/file_util.h"
|
| @@ -99,6 +99,10 @@ bool PathProviderPosix(int key, FilePath* result) {
|
| << "Try running from your chromium/src directory.";
|
| return false;
|
| }
|
| + case base::DIR_USER_DESKTOP: {
|
| + *result = GetXDGUserDirectory("DESKTOP", "Desktop");
|
| + return true;
|
| + }
|
| case base::DIR_CACHE: {
|
| scoped_ptr<base::Environment> env(base::Environment::Create());
|
| FilePath cache_dir(base::nix::GetXDGDirectory(env.get(), "XDG_CACHE_HOME",
|
|
|