Searched refs:prefs_path (Results 1 – 9 of 9) sorted by relevance
91 MasterPreferences::MasterPreferences(const base::FilePath& prefs_path) in MasterPreferences() argument101 if (base::PathExists(prefs_path) && in MasterPreferences()102 !base::ReadFileToString(prefs_path, &json_data)) { in MasterPreferences()103 LOG(ERROR) << "Failed to read preferences from " << prefs_path.value(); in MasterPreferences()124 base::FilePath prefs_path(cmd_line.GetSwitchValuePath( in InitializeFromCommandLine() local126 this->MasterPreferences::MasterPreferences(prefs_path); in InitializeFromCommandLine()
120 base::FilePath prefs_path(target_exe.DirName().AppendASCII( in AddDefaultShortcutProperties() local122 if (base::PathExists(prefs_path)) { in AddDefaultShortcutProperties()123 installer::MasterPreferences prefs(prefs_path); in AddDefaultShortcutProperties()
212 base::FilePath prefs_path; in TEST() local213 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &prefs_path)); in TEST()214 prefs_path = prefs_path.AppendASCII("extensions") in TEST()217 installer::MasterPreferences prefs(prefs_path); in TEST()
22 MasterPreferences::MasterPreferences(const base::FilePath& prefs_path) in MasterPreferences() argument
92 explicit MasterPreferences(const base::FilePath& prefs_path);
115 const base::FilePath& prefs_path,
493 const base::FilePath& prefs_path, in InstallOrUpdateProduct() argument528 if (result == FIRST_INSTALL_SUCCESS && !prefs_path.empty()) in InstallOrUpdateProduct()529 CopyPreferenceFileForFirstRun(installer_state, prefs_path); in InstallOrUpdateProduct()
810 base::FilePath prefs_path(cmd_line.GetSwitchValuePath( in InstallProducts() local812 if (!base::DeleteFile(prefs_path, false)) { in InstallProducts()814 << prefs_path.value() in InstallProducts()816 ScheduleFileSystemEntityForDeletion(prefs_path); in InstallProducts()
328 base::FilePath prefs_path = in GetExitTypePreferenceFromDisk() local331 if (!base::ReadFileToString(prefs_path, &prefs)) in GetExitTypePreferenceFromDisk()