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.
5 #include "base/base_paths.h"
9 #include "base/base_paths_fuchsia.h"
10 #include "base/command_line.h"
11 #include "base/files/file_util.h"
12 #include "base/fuchsia/file_utils.h"
13 #include "base/notreached.h"
14 #include "base/path_service.h"
15 #include "base/process/process.h"
19 bool PathProviderFuchsia(int key, FilePath* result) {
22 NOTIMPLEMENTED_LOG_ONCE() << " for FILE_MODULE.";
25 *result = CommandLine::ForCurrentProcess()->GetProgram();
29 *result = base::FilePath(base::fuchsia::kPersistedDataDirectoryPath);
33 *result = base::FilePath(base::fuchsia::kPackageRootDirectoryPath);