| Index: base/base_paths_posix.cc
|
| diff --git a/base/base_paths_posix.cc b/base/base_paths_posix.cc
|
| index c5123908d35f3dfefb9fba63edd66985918b4829..2fa74c281c1759ec8cb796bafea0dd8c55c81239 100644
|
| --- a/base/base_paths_posix.cc
|
| +++ b/base/base_paths_posix.cc
|
| @@ -59,6 +59,11 @@ bool PathProviderPosix(int key, FilePath* result) {
|
| }
|
| *result = FilePath(FilePath::StringType(bin_dir, length - 1));
|
| return true;
|
| +#elif defined(OS_FUCHSIA)
|
| + // TODO(scottmg): Port: There isn't any obvious way to get this before
|
| + // main() at the moment.
|
| + *result = FilePath("/system/chrome");
|
| + return true;
|
| #elif defined(OS_SOLARIS)
|
| char bin_dir[PATH_MAX + 1];
|
| if (realpath(getexecname(), bin_dir) == NULL) {
|
| @@ -102,6 +107,7 @@ bool PathProviderPosix(int key, FilePath* result) {
|
| << "Try running from your chromium/src directory.";
|
| return false;
|
| }
|
| +#if !defined(OS_FUCHSIA)
|
| case DIR_USER_DESKTOP:
|
| *result = nix::GetXDGUserDirectory("DESKTOP", "Desktop");
|
| return true;
|
| @@ -112,6 +118,7 @@ bool PathProviderPosix(int key, FilePath* result) {
|
| *result = cache_dir;
|
| return true;
|
| }
|
| +#endif // !OS_FUCHSIA
|
| }
|
| return false;
|
| }
|
|
|