@@ -837,7 +837,7 @@ base::FilePath App::GetPath(mate::Arguments* args, const std::string& name) {
837837 base::FilePath path;
838838 int key = GetPathConstant (name);
839839 if (key >= 0 )
840- succeed = PathService::Get (key, &path);
840+ succeed = base:: PathService::Get (key, &path);
841841 if (!succeed)
842842 args->ThrowError (" Failed to get '" + name + " ' path" );
843843 return path;
@@ -854,7 +854,8 @@ void App::SetPath(mate::Arguments* args,
854854 bool succeed = false ;
855855 int key = GetPathConstant (name);
856856 if (key >= 0 )
857- succeed = PathService::OverrideAndCreateIfNeeded (key, path, true , false );
857+ succeed =
858+ base::PathService::OverrideAndCreateIfNeeded (key, path, true , false );
858859 if (!succeed)
859860 args->ThrowError (" Failed to set path" );
860861}
@@ -886,7 +887,7 @@ bool App::RequestSingleInstanceLock() {
886887 return true ;
887888
888889 base::FilePath user_dir;
889- PathService::Get (brightray::DIR_USER_DATA, &user_dir);
890+ base:: PathService::Get (brightray::DIR_USER_DATA, &user_dir);
890891
891892 auto cb = base::Bind (&App::OnSecondInstance, base::Unretained (this ));
892893
@@ -935,7 +936,7 @@ bool App::Relaunch(mate::Arguments* js_args) {
935936
936937 if (exec_path.empty ()) {
937938 base::FilePath current_exe_path;
938- PathService::Get (base::FILE_EXE, ¤t_exe_path);
939+ base:: PathService::Get (base::FILE_EXE, ¤t_exe_path);
939940 argv.push_back (current_exe_path.value ());
940941 } else {
941942 argv.push_back (exec_path.value ());
0 commit comments