/external/chromium_org/chrome/browser/ |
H A D | chrome_process_singleton_win_unittest.cc | 32 base::ScopedTempDir profile_dir; local 33 ASSERT_TRUE(profile_dir.CreateUniqueTempDir()); 38 profile_dir.path(), 42 ChromeProcessSingleton ps2(profile_dir.path(), base::Bind(&ClientCallback)); 57 base::ScopedTempDir profile_dir; local 58 ASSERT_TRUE(profile_dir.CreateUniqueTempDir()); 63 profile_dir.path(), 66 ChromeProcessSingleton ps2(profile_dir.path(), base::Bind(&ClientCallback)); 93 base::ScopedTempDir profile_dir; local 94 ASSERT_TRUE(profile_dir [all...] |
/external/chromium_org/tools/perf/benchmarks/ |
H A D | session_restore.py | 22 if not args.browser_options.profile_dir: 23 profile_dir = os.path.join(tempfile.gettempdir(), profile_type) 24 if not os.path.exists(profile_dir): 27 new_args.output_dir = profile_dir 30 args.browser_options.profile_dir = os.path.join(profile_dir, profile_type)
|
/external/chromium_org/chrome/test/remoting/ |
H A D | install_and_launch_app.py | 10 profile_dir: A user-data-dir containing login token for the app-user. 53 profile_dir: Name of the profile-dir under the tmp_dir. 58 profile_dir = os.path.join(tmp_dir, 'testuser') 60 shutil.copytree(source_dir, profile_dir) 61 return tmp_dir, profile_dir 75 '-p', '--profile_dir', required=True, 136 org_profile_dir = args.profile_dir 138 tmp_dir, profile_dir = CreateTempProfileDir(org_profile_dir) 141 options.add_argument('--user-data-dir=' + profile_dir) 200 shutil.rmtree(profile_dir) [all...] |
/external/chromium_org/chrome/browser/chromeos/profiles/ |
H A D | profile_helper_browsertest.cc | 40 base::FilePath profile_dir = profile_helper.GetActiveUserProfileDir(); local 44 EXPECT_EQ(expected_dir, profile_dir.BaseName().value());
|
H A D | profile_helper.cc | 116 std::string profile_dir = profile->GetPath().BaseName().value(); 119 if (!ShouldAddProfileDirPrefix(profile_dir)) 120 return profile_dir; 124 if (profile_dir.find(prefix) != 0) { 129 return profile_dir.substr(prefix.length(), 130 profile_dir.length() - prefix.length());
|
/external/chromium_org/chrome/common/ |
H A D | chrome_paths_android.cc | 13 void GetUserCacheDirectory(const base::FilePath& profile_dir, argument 16 *result = profile_dir;
|
H A D | chrome_paths_linux.cc | 75 void GetUserCacheDirectory(const base::FilePath& profile_dir, argument 86 *result = profile_dir; 97 if (!config_dir.AppendRelativePath(profile_dir, &cache_dir))
|
H A D | chrome_paths_win.cc | 54 void GetUserCacheDirectory(const base::FilePath& profile_dir, argument 57 *result = profile_dir;
|
H A D | chrome_paths_internal.h | 36 // just |profile_dir|. 37 void GetUserCacheDirectory(const base::FilePath& profile_dir, base::FilePath* result);
|
H A D | logging_chrome.cc | 199 base::FilePath profile_dir; local 204 profile_dir = base::FilePath(login_profile_value); 209 profile_dir = base::FilePath(profile_dir_str); 211 log_dir = log_dir.Append(profile_dir);
|
/external/chromium_org/chrome/browser/apps/ |
H A D | app_launch_for_metro_restart_win.cc | 56 base::FilePath profile_dir = base::FilePath::FromUTF8Unsafe( 58 if (profile_dir.empty() || profile->GetPath().BaseName() != profile_dir)
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_startup_browsertest.cc | 78 base::FilePath profile_dir; variable 79 PathService::Get(chrome::DIR_USER_DATA, &profile_dir); 80 profile_dir = profile_dir.AppendASCII(TestingProfile::kTestUserProfileDir); 81 base::CreateDirectory(profile_dir); 83 preferences_file_ = profile_dir.Append(chrome::kPreferencesFilename); 84 user_scripts_dir_ = profile_dir.AppendASCII("User Scripts"); 85 extensions_dir_ = profile_dir.AppendASCII("Extensions"); 95 profile_dir, true); // recursive
|
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
H A D | android_browser_backend.py | 45 'ls "%s"' % self.profile_dir, as_root=True) 47 paths = ['"%s/%s"' % (self.profile_dir, f) for f in files if f != 'lib'] 55 def profile_dir(self): member in class:AndroidBrowserBackendSettings 95 saved_profile_location, self.profile_dir) 101 'ls "%s"' % self.profile_dir, as_root=True) 103 paths = ['%s/%s' % (self.profile_dir, f) for f in files] 208 if self.browser_options.profile_dir: 209 self._backend_settings.PushProfile(self.browser_options.profile_dir, 290 elif self.browser_options.profile_dir: 360 return self._backend_settings.profile_dir [all...] |
H A D | desktop_browser_backend.py | 65 # If both |_output_profile_path| and |profile_dir| are specified then 71 profile_dir = self.browser_options.profile_dir 72 if profile_dir: 76 logging.info("Using profile directory:'%s'." % profile_dir) 78 shutil.copytree(profile_dir, self._tmp_profile_dir)
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
H A D | browser_options.py | 188 self.profile_dir = None 233 dest='profile_dir', 282 'profile_dir', 309 if self.profile_dir and self.profile_type != 'clean': 315 if self.profile_dir and not os.path.isdir(self.profile_dir): 319 "For more information see: http://goo.gl/ngdGD5" % self.profile_dir) 322 if not self.profile_dir: 323 self.profile_dir = profile_types.GetProfileDir(self.profile_type)
|
H A D | browser_options_unittest.py | 69 self.assertEquals(options.browser_options.profile_dir, None) 77 self.assertEquals(options.browser_options.profile_dir, current_dir)
|
/external/chromium_org/chrome/browser/signin/ |
H A D | signin_names_io_thread_unittest.cc | 70 const base::FilePath profile_dir = local 73 const base::FilePath profile_dir = user_data_dir.Append(name); local 75 cache->AddProfileToCache(profile_dir, name, email, 0, std::string());
|
/external/chromium_org/chrome/browser/apps/app_shim/ |
H A D | app_shim_host_mac.cc | 66 void AppShimHost::OnLaunchApp(const base::FilePath& profile_dir, argument 76 profile_path_ = profile_dir;
|
H A D | app_shim_host_mac.h | 54 void OnLaunchApp(const base::FilePath& profile_dir,
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | user_cloud_policy_manager_factory_chromeos.cc | 166 base::FilePath profile_dir = profile->GetPath(); local 167 const base::FilePath legacy_dir = profile_dir.Append(kDeviceManagementDir); 171 profile_dir.Append(kPolicy).Append(kComponentsDir); 173 profile_dir.Append(kPolicy).Append(kPolicyExternalDataDir);
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
H A D | options_ui_browsertest.cc | 226 base::FilePath profile_dir = browser()->profile()->GetPath(); local 230 EXPECT_TRUE(DirectoryExists(profile_dir)); 231 EXPECT_TRUE(profile_info_cache.GetIndexOfProfileWithPath(profile_dir) != 252 EXPECT_TRUE(profile_info_cache.GetIndexOfProfileWithPath(profile_dir) ==
|
/external/chromium_org/chrome/common/mac/ |
H A D | app_mode_common.h | 158 base::FilePath profile_dir; member in struct:app_mode::ChromeAppModeInfo
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_manager.cc | 368 Profile* ProfileManager::GetProfile(const base::FilePath& profile_dir) { argument 372 Profile* profile = GetProfileByPath(profile_dir); 376 profile = CreateProfileHelper(profile_dir); 489 base::FilePath profile_dir; local 494 profile_dir = chromeos::ProfileHelper::Get()->GetActiveUserProfileDir(); 497 Profile* profile = GetProfile(profile_path.Append(profile_dir)); 622 const base::FilePath& profile_dir, 629 Profile* profile = GetProfileByPath(profile_dir); 642 if (last_used_profile == profile_dir.BaseName().MaybeAsASCII() || 650 if (cur_path != profile_dir 621 ScheduleProfileForDeletion( const base::FilePath& profile_dir, const CreateCallback& callback) argument 1088 FinishDeletingProfile(const base::FilePath& profile_dir) argument [all...] |
H A D | profile_manager.h | 77 Profile* GetProfile(const base::FilePath& profile_dir); 160 void ScheduleProfileForDeletion(const base::FilePath& profile_dir, 257 void FinishDeletingProfile(const base::FilePath& profile_dir);
|
/external/chromium_org/tools/telemetry/telemetry/ |
H A D | benchmark.py | 111 if options.browser_options.profile_dir: 114 options.browser_options.profile_dir) 163 options.browser_options.profile_dir = extracted_profile_dir_path
|