Searched refs:profile_dir (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium_org/chrome/browser/
H A Dchrome_process_singleton_win_unittest.cc32 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 Dsession_restore.py22 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 Dinstall_and_launch_app.py10 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 Dprofile_helper_browsertest.cc40 base::FilePath profile_dir = profile_helper.GetActiveUserProfileDir(); local
44 EXPECT_EQ(expected_dir, profile_dir.BaseName().value());
H A Dprofile_helper.cc116 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 Dchrome_paths_android.cc13 void GetUserCacheDirectory(const base::FilePath& profile_dir, argument
16 *result = profile_dir;
H A Dchrome_paths_linux.cc75 void GetUserCacheDirectory(const base::FilePath& profile_dir, argument
86 *result = profile_dir;
97 if (!config_dir.AppendRelativePath(profile_dir, &cache_dir))
H A Dchrome_paths_win.cc54 void GetUserCacheDirectory(const base::FilePath& profile_dir, argument
57 *result = profile_dir;
H A Dchrome_paths_internal.h36 // just |profile_dir|.
37 void GetUserCacheDirectory(const base::FilePath& profile_dir, base::FilePath* result);
H A Dlogging_chrome.cc199 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 Dapp_launch_for_metro_restart_win.cc56 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 Dextension_startup_browsertest.cc78 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 Dandroid_browser_backend.py45 '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 Ddesktop_browser_backend.py65 # 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 Dbrowser_options.py188 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 Dbrowser_options_unittest.py69 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 Dsignin_names_io_thread_unittest.cc70 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 Dapp_shim_host_mac.cc66 void AppShimHost::OnLaunchApp(const base::FilePath& profile_dir, argument
76 profile_path_ = profile_dir;
H A Dapp_shim_host_mac.h54 void OnLaunchApp(const base::FilePath& profile_dir,
/external/chromium_org/chrome/browser/chromeos/policy/
H A Duser_cloud_policy_manager_factory_chromeos.cc166 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 Doptions_ui_browsertest.cc226 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 Dapp_mode_common.h158 base::FilePath profile_dir; member in struct:app_mode::ChromeAppModeInfo
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_manager.cc368 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 Dprofile_manager.h77 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 Dbenchmark.py111 if options.browser_options.profile_dir:
114 options.browser_options.profile_dir)
163 options.browser_options.profile_dir = extracted_profile_dir_path

Completed in 251 milliseconds

12