Home
last modified time | relevance | path

Searched refs:user_data_dir (Results 1 – 25 of 121) sorted by relevance

12345

/external/chromium_org/chrome/browser/
Dsxs_linux.cc62 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()
Dchrome_process_singleton.cc8 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()
Dshell_integration.cc91 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()
Dchrome_process_singleton.h32 const base::FilePath& user_data_dir,
36 const base::FilePath& user_data_dir,
Dprocess_singleton_win.cc191 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/
Dservice_listener.cc22 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()
Dcloud_print_service.cc219 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()
Dservice_controller.h37 const base::FilePath& user_data_dir);
42 const base::FilePath& user_data_dir,
65 const base::FilePath& user_data_dir,
Dservice_controller.cc134 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/
Dstartup_browser_creator_interactive_uitest.cc35 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()
Dbad_flags_prompt.cc93 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/
Dprofile_manager.h36 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);
Dprofile_manager.cc221 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/
Dchrome_exe_main_win.cc69 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()
Dchrome_main_delegate.cc310 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/
Dvalidation_rules_storage_factory.cc29 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/
Dchrome_desktop_impl.cc70 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/
Dtest_launcher_utils.cc75 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()
Din_process_browser_test.cc257 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/
Dproduct_unittest.cc68 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/
Dapp_list_service_interactive_uitest.cc40 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/
Dapp_list_service_win.cc162 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/
Dpolicy_path_parser_win.cc129 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/
Ddevice_policy_cros_browser_test.cc79 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/
Dprofile_helper.cc68 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()

12345