/external/chromium_org/chrome/browser/ |
D | sxs_linux.cc | 62 bool DoAddChannelMarkToUserDataDir(const base::FilePath& user_data_dir) { in DoAddChannelMarkToUserDataDir() argument 64 base::FilePath channels_path(user_data_dir.AppendASCII(kChannelsFileName)); in DoAddChannelMarkToUserDataDir() 93 base::FilePath user_data_dir; in AddChannelMarkToUserDataDir() local 94 if (!PathService::Get(chrome::DIR_USER_DATA, &user_data_dir)) { in AddChannelMarkToUserDataDir() 100 if (!DoAddChannelMarkToUserDataDir(user_data_dir)) { in AddChannelMarkToUserDataDir() 102 << user_data_dir.value() << "). This profile will not be " in AddChannelMarkToUserDataDir()
|
D | chrome_process_singleton.cc | 8 const base::FilePath& user_data_dir, in ChromeProcessSingleton() argument 12 process_singleton_(user_data_dir, in ChromeProcessSingleton() 18 const base::FilePath& user_data_dir, in ChromeProcessSingleton() argument 25 process_singleton_(user_data_dir, in ChromeProcessSingleton()
|
D | shell_integration.cc | 91 base::FilePath user_data_dir = in AppendProfileArgs() local 94 policy::path_parser::CheckUserDataDirPolicy(&user_data_dir); in AppendProfileArgs() 96 if (!user_data_dir.empty()) { in AppendProfileArgs() 98 user_data_dir = base::MakeAbsoluteFilePath(user_data_dir); in AppendProfileArgs() 99 if (!user_data_dir.empty() && base::PathExists(user_data_dir)) in AppendProfileArgs() 100 command_line->AppendSwitchPath(switches::kUserDataDir, user_data_dir); in AppendProfileArgs()
|
D | chrome_process_singleton.h | 32 const base::FilePath& user_data_dir, 36 const base::FilePath& user_data_dir,
|
D | process_singleton_win.cc | 191 bool ShouldLaunchInWindows8ImmersiveMode(const base::FilePath& user_data_dir) { in ShouldLaunchInWindows8ImmersiveMode() argument 218 if (default_user_data_dir != user_data_dir) in ShouldLaunchInWindows8ImmersiveMode() 240 const base::FilePath& user_data_dir) { in EscapeVirtualization() argument 254 hwnd = chrome::FindRunningChromeWindow(user_data_dir); in EscapeVirtualization() 267 const base::FilePath& user_data_dir, in ProcessSingleton() argument 271 user_data_dir_(user_data_dir) { in ProcessSingleton()
|
/external/chromium_org/cloud_print/service/win/ |
D | service_listener.cc | 22 std::string GetEnvironment(const base::FilePath& user_data_dir) { in GetEnvironment() argument 40 if (base::CreateDirectory(user_data_dir)) { in GetEnvironment() 42 if (base::CreateTemporaryFileInDir(user_data_dir, &temp_file)) { in GetEnvironment() 45 user_data_dir.value()); in GetEnvironment() 57 ServiceListener::ServiceListener(const base::FilePath& user_data_dir) in ServiceListener() argument 59 user_data_dir_(user_data_dir) { in ServiceListener()
|
D | cloud_print_service.cc | 219 base::FilePath user_data_dir; in ParseCommandLine() local 222 &user_data_dir, &printers); in ParseCommandLine() 227 user_data_dir_switch_ == user_data_dir); in ParseCommandLine() 229 hr = SetupServiceState(user_data_dir, printers); in ParseCommandLine() 267 base::FilePath* user_data_dir, in SelectWindowsAccount() argument 298 if (setup.user_data_dir().empty()) { in SelectWindowsAccount() 318 std::cout << "\n " << setup.user_data_dir().value() << "\n"; in SelectWindowsAccount() 325 *user_data_dir = setup.user_data_dir(); in SelectWindowsAccount() 330 HRESULT SetupServiceState(const base::FilePath& user_data_dir, in SetupServiceState() argument 332 base::FilePath file = user_data_dir.Append(chrome::kServiceStateFileName); in SetupServiceState()
|
D | service_controller.h | 37 const base::FilePath& user_data_dir); 42 const base::FilePath& user_data_dir, 65 const base::FilePath& user_data_dir,
|
D | service_controller.cc | 134 const base::FilePath& user_data_dir, in InstallConnectorService() argument 136 return InstallService(user, password, true, kServiceSwitch, user_data_dir, in InstallConnectorService() 143 const base::FilePath& user_data_dir) { in InstallCheckService() argument 145 user_data_dir, true); in InstallCheckService() 152 const base::FilePath& user_data_dir, in InstallService() argument 169 if (!user_data_dir.empty()) in InstallService() 170 command_line.AppendSwitchPath(switches::kUserDataDir, user_data_dir); in InstallService()
|
/external/chromium_org/chrome/browser/ui/startup/ |
D | startup_browser_creator_interactive_uitest.cc | 35 profile_manager->user_data_dir().Append(FILE_PATH_LITERAL( in IN_PROC_BROWSER_TEST_F() 39 profile_manager->user_data_dir().Append(FILE_PATH_LITERAL( in IN_PROC_BROWSER_TEST_F() 43 profile_manager->user_data_dir().Append(FILE_PATH_LITERAL( in IN_PROC_BROWSER_TEST_F() 47 profile_manager->user_data_dir().Append(FILE_PATH_LITERAL( in IN_PROC_BROWSER_TEST_F() 70 browser_creator.Start(dummy, profile_manager->user_data_dir(), profile_2, in IN_PROC_BROWSER_TEST_F()
|
D | bad_flags_prompt.cc | 93 const base::FilePath& user_data_dir = GetInvalidSpecifiedUserDataDir(); in MaybeShowInvalidUserDataDirWarningDialog() local 94 if (user_data_dir.empty()) in MaybeShowInvalidUserDataDirWarningDialog() 114 user_data_dir.LossyDisplayName()); in MaybeShowInvalidUserDataDirWarningDialog()
|
/external/chromium_org/chrome/browser/profiles/ |
D | profile_manager.h | 36 explicit ProfileManager(const base::FilePath& user_data_dir); 102 Profile* GetLastUsedProfile(const base::FilePath& user_data_dir); 106 base::FilePath GetLastUsedProfileDir(const base::FilePath& user_data_dir); 114 const base::FilePath& user_data_dir); 185 const base::FilePath& user_data_dir() const { return user_data_dir_; } in user_data_dir() function 248 const base::FilePath& user_data_dir); 353 explicit ProfileManagerWithoutInit(const base::FilePath& user_data_dir);
|
D | profile_manager.cc | 221 ProfileManager::ProfileManager(const base::FilePath& user_data_dir) in ProfileManager() argument 222 : user_data_dir_(user_data_dir), in ProfileManager() 316 profile_manager->user_data_dir()); in GetPrimaryUserProfile() 322 profile_manager->user_data_dir()); in GetPrimaryUserProfile() 333 profile_manager->user_data_dir()); in GetActiveUserProfile() 347 profile_manager->user_data_dir()); in GetActiveUserProfile() 353 CHECK(profile) << profile_manager->user_data_dir().AsUTF8Unsafe(); in GetActiveUserProfile() 488 const base::FilePath& user_data_dir) { in GetLastUsedProfile() argument 492 return GetActiveUserOrOffTheRecordProfileFromPath(user_data_dir); in GetLastUsedProfile() 504 base::FilePath profile_path(user_data_dir); in GetLastUsedProfile() [all …]
|
/external/chromium_org/chrome/app/ |
D | chrome_exe_main_win.cc | 69 base::FilePath user_data_dir; in AttemptFastNotify() local 70 if (!chrome::GetDefaultUserDataDirectory(&user_data_dir)) in AttemptFastNotify() 72 policy::path_parser::CheckUserDataDirPolicy(&user_data_dir); in AttemptFastNotify() 74 HWND chrome = chrome::FindRunningChromeWindow(user_data_dir); in AttemptFastNotify()
|
D | chrome_main_delegate.cc | 310 base::FilePath user_data_dir = in InitializeUserDataDir() local 319 if (user_data_dir.empty()) { in InitializeUserDataDir() 324 user_data_dir = base::FilePath::FromUTF8Unsafe(user_data_dir_string); in InitializeUserDataDir() 329 policy::path_parser::CheckUserDataDirPolicy(&user_data_dir); in InitializeUserDataDir() 332 const bool specified_directory_was_invalid = !user_data_dir.empty() && in InitializeUserDataDir() 334 user_data_dir, false, true); in InitializeUserDataDir() 337 chrome::SetInvalidSpecifiedUserDataDir(user_data_dir); in InitializeUserDataDir() 340 if (!PathService::Get(chrome::DIR_USER_DATA, &user_data_dir)) { in InitializeUserDataDir() 348 if (user_data_dir.empty()) in InitializeUserDataDir() 349 chrome::GetDefaultUserDataDirectory(&user_data_dir); in InitializeUserDataDir() [all …]
|
/external/chromium_org/chrome/browser/autofill/ |
D | validation_rules_storage_factory.cc | 29 base::FilePath user_data_dir; in ValidationRulesStorageFactory() local 30 bool success = PathService::Get(chrome::DIR_USER_DATA, &user_data_dir); in ValidationRulesStorageFactory() 34 user_data_dir.Append(FILE_PATH_LITERAL("Address Validation Rules")); in ValidationRulesStorageFactory()
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
D | chrome_desktop_impl.cc | 70 base::ScopedTempDir* user_data_dir, in ChromeDesktopImpl() argument 77 if (user_data_dir->IsValid()) in ChromeDesktopImpl() 78 CHECK(user_data_dir_.Set(user_data_dir->Take())); in ChromeDesktopImpl() 85 base::FilePath user_data_dir = user_data_dir_.Take(); in ~ChromeDesktopImpl() local 88 << user_data_dir.value() << " and " << extension_dir.value(); in ~ChromeDesktopImpl()
|
/external/chromium_org/chrome/test/base/ |
D | test_launcher_utils.cc | 75 bool OverrideUserDataDir(const base::FilePath& user_data_dir) { in OverrideUserDataDir() argument 80 success = PathService::Override(chrome::DIR_USER_DATA, user_data_dir); in OverrideUserDataDir() 90 success = success && env->SetVar("XDG_CACHE_HOME", user_data_dir.value()); in OverrideUserDataDir()
|
D | in_process_browser_test.cc | 257 base::FilePath user_data_dir = in CreateUserDataDirectory() local 259 if (user_data_dir.empty()) { in CreateUserDataDirectory() 262 user_data_dir = temp_user_data_dir_.path(); in CreateUserDataDirectory() 269 return test_launcher_utils::OverrideUserDataDir(user_data_dir); in CreateUserDataDirectory() 363 base::FilePath user_data_dir; in GetCommandLineForRelaunch() local 364 PathService::Get(chrome::DIR_USER_DATA, &user_data_dir); in GetCommandLineForRelaunch() 365 new_command_line.AppendSwitchPath(switches::kUserDataDir, user_data_dir); in GetCommandLineForRelaunch()
|
/external/chromium_org/chrome/installer/util/ |
D | product_unittest.cc | 68 base::FilePath user_data_dir; in TEST_F() local 69 ASSERT_TRUE(PathService::Get(chrome::DIR_USER_DATA, &user_data_dir)); in TEST_F() 70 EXPECT_FALSE(user_data_dir.empty()); in TEST_F() 77 user_data_dir.value().find(program_files.value())); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/app_list/ |
D | app_list_service_interactive_uitest.cc | 40 profile_manager->user_data_dir().AppendASCII("Profile 1"); in InitSecondProfile() 195 base::FilePath user_data_dir; in SetUpUserDataDirectory() local 196 CHECK(PathService::Get(chrome::DIR_USER_DATA, &user_data_dir)); in SetUpUserDataDirectory() 197 base::FilePath profile_path = user_data_dir.Append(second_profile_name_); in SetUpUserDataDirectory() 201 user_data_dir.Append(chrome::kLocalStateFilename); in SetUpUserDataDirectory()
|
/external/chromium_org/chrome/browser/ui/views/app_list/win/ |
D | app_list_service_win.cc | 162 const base::FilePath& user_data_dir, in CreateAppListShortcuts() argument 176 shortcut_paths.push_back(user_data_dir); in CreateAppListShortcuts() 213 user_data_dir.Append(app_list_shortcut_name). in CreateAppListShortcuts() 317 base::FilePath user_data_dir( in CreateShortcut() local 318 g_browser_process->profile_manager()->user_data_dir()); in CreateShortcut() 324 user_data_dir, GetAppModelId(), shortcut_locations)); in CreateShortcut() 354 base::FilePath profile_path(GetProfilePath(profile_manager->user_data_dir())); in LoadProfileForWarmup()
|
/external/chromium_org/chrome/browser/policy/ |
D | policy_path_parser_win.cc | 129 void CheckUserDataDirPolicy(base::FilePath* user_data_dir) { in CheckUserDataDirPolicy() argument 130 DCHECK(user_data_dir); in CheckUserDataDirPolicy() 132 if (!LoadUserDataDirPolicyFromRegistry(HKEY_LOCAL_MACHINE, user_data_dir)) in CheckUserDataDirPolicy() 133 LoadUserDataDirPolicyFromRegistry(HKEY_CURRENT_USER, user_data_dir); in CheckUserDataDirPolicy()
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | device_policy_cros_browser_test.cc | 79 base::FilePath user_data_dir; in OverridePaths() local 80 ASSERT_TRUE(PathService::Get(chrome::DIR_USER_DATA, &user_data_dir)); in OverridePaths() 81 chromeos::RegisterStubPathOverrides(user_data_dir); in OverridePaths()
|
/external/chromium_org/chrome/browser/chromeos/profiles/ |
D | profile_helper.cc | 68 base::FilePath profile_path = profile_manager->user_data_dir(); in GetProfilePathByUserIdHash() 84 base::FilePath user_data_dir = profile_manager->user_data_dir(); in GetSigninProfileDir() local 85 return user_data_dir.AppendASCII(chrome::kInitialProfile); in GetSigninProfileDir()
|