Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Side by Side Diff: base/base_paths_fuchsia.cc

Issue 2907473002: fuchsia: add base_paths_fuchsia.cc (Closed)
Patch Set: . Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/base_paths.h"
6
7 #include "base/files/file_path.h"
8
9 namespace base {
10
11 bool PathProviderFuchsia(int key, FilePath* result) {
12 switch (key) {
13 case FILE_EXE:
14 case FILE_MODULE: {
15 // TODO(fuchsia): There's no API to retrieve this on Fuchsia currently.
16 // See https://crbug.com/726124.
17 *result = FilePath("/system/chrome");
18 return true;
19 }
20 }
21
22 return false;
23 }
24
25 } // namespace base
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/base_paths_posix.cc » ('j') | base/path_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698