PathService -> base::PathService

This commit is contained in:
Jeremy Apthorp
2018-09-14 17:09:42 -07:00
committed by Aleksei Kuzmin
parent 7092fa31a4
commit de581ca0b4
17 changed files with 30 additions and 28 deletions

View File

@@ -26,7 +26,7 @@ bool HasMainProcessKey() {
base::FilePath MainApplicationBundlePath() {
// Start out with the path to the running executable.
base::FilePath path;
PathService::Get(base::FILE_EXE, &path);
base::PathService::Get(base::FILE_EXE, &path);
// Up to Contents.
if (!HasMainProcessKey() &&

View File

@@ -52,7 +52,7 @@ void LoadResourceBundle(const std::string& locale) {
pak_dir =
base::mac::FrameworkBundlePath().Append(FILE_PATH_LITERAL("Resources"));
#else
PathService::Get(base::DIR_MODULE, &pak_dir);
base::PathService::Get(base::DIR_MODULE, &pak_dir);
#endif
ui::ResourceBundle::InitSharedInstanceWithLocale(

View File

@@ -41,7 +41,7 @@ void MainDelegate::OverrideChildProcessPath() {
.Append("MacOS")
.Append(GetApplicationName() + " Helper");
PathService::Override(content::CHILD_PROCESS_EXE, helper_path);
base::PathService::Override(content::CHILD_PROCESS_EXE, helper_path);
}
} // namespace brightray