blob: 6b11bf344bcbbc2e36977ee824fbfb7dac18a838 [file] [log] [blame]
scottmg1ab7aa82017-05-25 05:22:491// 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
9namespace base {
10
11bool 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