Home
last modified time | relevance | path

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

12

/external/chromium/chrome/browser/ui/views/
Duser_data_dir_dialog.cc18 const FilePath& user_data_dir) { in RunUserDataDirDialog() argument
20 UserDataDirDialog* dlg = new UserDataDirDialog(user_data_dir); in RunUserDataDirDialog()
22 return dlg->user_data_dir(); in RunUserDataDirDialog()
25 UserDataDirDialog::UserDataDirDialog(const FilePath& user_data_dir) in UserDataDirDialog() argument
31 user_data_dir.LossyDisplayName())); in UserDataDirDialog()
Duser_data_dir_dialog.h32 static FilePath RunUserDataDirDialog(const FilePath& user_data_dir);
35 FilePath user_data_dir() const { return user_data_dir_; } in user_data_dir() function
58 explicit UserDataDirDialog(const FilePath& user_data_dir);
/external/chromium/chrome/common/
Dservice_process_util.cc109 FilePath user_data_dir; in GetServiceProcessScopedName() local
110 PathService::Get(chrome::DIR_USER_DATA, &user_data_dir); in GetServiceProcessScopedName()
112 std::string user_data_dir_path = WideToUTF8(user_data_dir.value()); in GetServiceProcessScopedName()
114 std::string user_data_dir_path = user_data_dir.value(); in GetServiceProcessScopedName()
271 FilePath user_data_dir = in CreateAutoRunCommandLine() local
273 if (!user_data_dir.empty()) in CreateAutoRunCommandLine()
275 user_data_dir); in CreateAutoRunCommandLine()
Dservice_process_util_win.cc40 FilePath user_data_dir; in GetObsoleteServiceProcessAutoRunKey() local
41 PathService::Get(chrome::DIR_USER_DATA, &user_data_dir); in GetObsoleteServiceProcessAutoRunKey()
42 std::string scoped_name = WideToUTF8(user_data_dir.value()); in GetObsoleteServiceProcessAutoRunKey()
Dservice_process_util_mac.mm49 FilePath user_data_dir;
50 PathService::Get(chrome::DIR_USER_DATA, &user_data_dir);
51 std::string user_data_dir_path = user_data_dir.value();
/external/chromium/chrome/browser/
Dshell_integration.cc34 FilePath user_data_dir = cmd_line.GetSwitchValuePath(switches::kUserDataDir); in CommandLineArgsForLauncher() local
35 if (!user_data_dir.empty()) { in CommandLineArgsForLauncher()
37 if (file_util::AbsolutePath(&user_data_dir) && in CommandLineArgsForLauncher()
38 file_util::PathExists(user_data_dir)) { in CommandLineArgsForLauncher()
39 new_cmd_line.AppendSwitchPath(switches::kUserDataDir, user_data_dir); in CommandLineArgsForLauncher()
Dprocess_singleton_win.cc44 ProcessSingleton::ProcessSingleton(const FilePath& user_data_dir) in ProcessSingleton() argument
48 user_data_dir.value().c_str()); in ProcessSingleton()
71 user_data_dir.value().c_str()); in ProcessSingleton()
189 FilePath user_data_dir; in Create() local
190 PathService::Get(chrome::DIR_USER_DATA, &user_data_dir); in Create()
195 user_data_dir.value().c_str(), in Create()
Dprocess_singleton_linux_uitest.cc34 lock_path_ = user_data_dir().Append(chrome::kSingletonLockFilename); in SetUp()
35 socket_path_ = user_data_dir().Append(chrome::kSingletonSocketFilename); in SetUp()
36 cookie_path_ = user_data_dir().Append(chrome::kSingletonCookieFilename); in SetUp()
59 FilePath user_data_dir; in CreateProcessSingleton() local
60 PathService::Get(chrome::DIR_USER_DATA, &user_data_dir); in CreateProcessSingleton()
62 return new ProcessSingleton(user_data_dir); in CreateProcessSingleton()
Dprocess_singleton_mac.cc41 ProcessSingleton::ProcessSingleton(const FilePath& user_data_dir) in ProcessSingleton() argument
44 lock_path_(user_data_dir.Append(chrome::kSingletonLockFilename)), in ProcessSingleton()
Dbrowser_main.cc817 const FilePath& user_data_dir) { in CreateProfile() argument
819 user_data_dir); in CreateProfile()
829 user_data_dir); in CreateProfile()
1181 FilePath user_data_dir; in BrowserMain() local
1183 PathService::Get(chrome::DIR_USER_DATA, &user_data_dir); in BrowserMain()
1190 CHECK(PathService::Get(chrome::DIR_USER_DATA, &user_data_dir)) in BrowserMain()
1194 ProcessSingleton process_singleton(user_data_dir); in BrowserMain()
1306 !FirstRun::ProcessMasterPreferences(user_data_dir, &master_prefs); in BrowserMain()
1504 Profile* profile = CreateProfile(parameters, user_data_dir); in BrowserMain()
Dprocess_singleton_uitest.cc39 explicit ChromeStarter(int timeout_ms, const FilePath& user_data_dir) in ChromeStarter() argument
45 user_data_dir_(user_data_dir) { in ChromeStarter()
Dprocess_singleton_linux.cc750 ProcessSingleton::ProcessSingleton(const FilePath& user_data_dir) in ProcessSingleton() argument
754 socket_path_ = user_data_dir.Append(chrome::kSingletonSocketFilename); in ProcessSingleton()
755 lock_path_ = user_data_dir.Append(chrome::kSingletonLockFilename); in ProcessSingleton()
756 cookie_path_ = user_data_dir.Append(chrome::kSingletonCookieFilename); in ProcessSingleton()
Dprocess_singleton.h52 explicit ProcessSingleton(const FilePath& user_data_dir);
Djumplist_win.cc427 FilePath user_data_dir = CommandLine::ForCurrentProcess()->
429 if (!user_data_dir.empty())
430 command_line.AppendSwitchPath(switches::kUserDataDir, user_data_dir);
Dbrowser_process_impl.cc668 FilePath user_data_dir; in ShouldClearLocalState() local
678 PathService::Get(chrome::DIR_USER_DATA, &user_data_dir); in ShouldClearLocalState()
679 profile = profile_manager_->GetDefaultProfile(user_data_dir); in ShouldClearLocalState()
/external/chromium/chrome/browser/profiles/
Dprofile_manager.cc78 FilePath user_data_dir; in GetDefaultProfile() local
79 PathService::Get(chrome::DIR_USER_DATA, &user_data_dir); in GetDefaultProfile()
81 return profile_manager->GetDefaultProfile(user_data_dir); in GetDefaultProfile()
101 const FilePath& user_data_dir) { in GetDefaultProfileDir() argument
102 FilePath default_profile_dir(user_data_dir); in GetDefaultProfileDir()
138 Profile* ProfileManager::GetDefaultProfile(const FilePath& user_data_dir) { in GetDefaultProfile() argument
139 FilePath default_profile_dir(user_data_dir); in GetDefaultProfile()
224 void ProfileManager::CreateProfileAsync(const FilePath& user_data_dir, in CreateProfileAsync() argument
227 ProfilesInfoMap::iterator iter = profiles_info_.find(user_data_dir); in CreateProfileAsync()
240 RegisterProfile(Profile::CreateProfileAsync(user_data_dir, this), in CreateProfileAsync()
Dprofile_manager.h49 Profile* GetDefaultProfile(const FilePath& user_data_dir);
62 void CreateProfileAsync(const FilePath& user_data_dir,
98 static FilePath GetDefaultProfileDir(const FilePath& user_data_dir);
/external/chromium/chrome/browser/diagnostics/
Ddiagnostics_model.cc168 FilePath user_data_dir = cmdline.GetSwitchValuePath(switches::kUserDataDir); in MakeDiagnosticsModel() local
169 if (!user_data_dir.empty()) in MakeDiagnosticsModel()
170 PathService::Override(chrome::DIR_USER_DATA, user_data_dir); in MakeDiagnosticsModel()
/external/chromium/chrome/browser/first_run/
Dfirst_run.cc47 const FilePath& user_data_dir) { in GetDefaultPrefFilePath() argument
49 ProfileManager::GetDefaultProfileDir(user_data_dir); in GetDefaultPrefFilePath()
98 bool FirstRun::ProcessMasterPreferences(const FilePath& user_data_dir, in ProcessMasterPreferences() argument
100 DCHECK(!user_data_dir.empty()); in ProcessMasterPreferences()
159 FilePath user_prefs = GetDefaultPrefFilePath(true, user_data_dir); in ProcessMasterPreferences()
Dfirst_run.h96 static bool ProcessMasterPreferences(const FilePath& user_data_dir,
/external/chromium/chrome/browser/rlz/
Drlz.cc218 FilePath user_data_dir; in IsGoogleDefaultSearch() local
219 if (!PathService::Get(chrome::DIR_USER_DATA, &user_data_dir)) in IsGoogleDefaultSearch()
222 Profile* profile = profile_manager->GetDefaultProfile(user_data_dir); in IsGoogleDefaultSearch()
/external/chromium/chrome/browser/service/
Dservice_process_control.cc135 FilePath user_data_dir = in Launch() local
137 if (!user_data_dir.empty()) in Launch()
138 cmd_line->AppendSwitchPath(switches::kUserDataDir, user_data_dir); in Launch()
/external/chromium/chrome/browser/history/
Dmultipart_uitest.cc45 user_data_dir().AppendASCII("Default").AppendASCII("History"); in TEST_F()
/external/chromium/chrome/browser/metrics/
Dmetrics_service_uitest.cc55 FilePath path = user_data_dir().Append(chrome::kLocalStateFilename); in GetLocalState()
/external/chromium/chrome/browser/chromeos/login/
Duser_manager.cc546 FilePath user_data_dir; in GetImagePathForUser() local
547 PathService::Get(chrome::DIR_USER_DATA, &user_data_dir); in GetImagePathForUser()
548 return user_data_dir.AppendASCII(filename); in GetImagePathForUser()

12