Home
last modified time | relevance | path

Searched refs:user_data_dir_ (Results 1 – 25 of 43) sorted by relevance

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/downgrade/
H A Dsnapshot_manager.cc145 : user_data_dir_(user_data_dir) {} in SnapshotManager()
153 user_data_dir_.Append(kSnapshotsDir).AppendASCII(version.GetString()); in TakeSnapshot()
158 auto move_target_dir = user_data_dir_.Append(kSnapshotsDir) in TakeSnapshot()
201 for (const auto& profile_dir : GetUserProfileDirectories(user_data_dir_)) { in TakeSnapshot()
215 profile_dir.Append(file.path), user_data_dir_, in TakeSnapshot()
226 user_data_dir_, snapshot_dir, in TakeSnapshot()
248 auto snapshot_version = GetSnapshotToRestore(version, user_data_dir_); in RestoreSnapshot()
257 auto snapshot_dir = user_data_dir_.Append(kSnapshotsDir) in RestoreSnapshot()
277 const auto target_path = user_data_dir_.Append(path.BaseName()); in RestoreSnapshot()
327 const auto snapshot_dir = user_data_dir_.Append(kSnapshotsDir); in PurgeInvalidAndOldSnapshots()
[all …]
H A Duser_data_downgrade_browsertest.cc68 const base::FilePath& user_data_dir() const { return user_data_dir_; } in user_data_dir()
90 if (!base::PathService::Get(chrome::DIR_USER_DATA, &user_data_dir_)) in SetUpUserDataDirectory()
92 other_file_ = user_data_dir_.Append(FILE_PATH_LITERAL("Other File")); in SetUpUserDataDirectory()
93 moved_user_data_dir_ = user_data_dir_.Append(user_data_dir_.BaseName()) in SetUpUserDataDirectory()
101 base::WriteFile(user_data_dir_.Append(kDowngradeLastVersionFile), in SetUpUserDataDirectory()
112 base::FilePath user_data_dir_; member in downgrade::UserDataDowngradeBrowserTestBase
H A Duser_data_snapshot_browsertest.cc130 const base::FilePath& user_data_dir() const { return user_data_dir_; } in user_data_dir()
133 if (!base::PathService::Get(chrome::DIR_USER_DATA, &user_data_dir_)) in SetUpUserDataDirectory()
138 base::WriteFile(user_data_dir_.Append(kDowngradeLastVersionFile), in SetUpUserDataDirectory()
145 base::WriteFile(user_data_dir_.Append(kDowngradeLastVersionFile), in SetUpUserDataDirectory()
183 base::FilePath user_data_dir_; member in downgrade::UserDataSnapshotBrowserTestBase
H A Dsnapshot_manager.h63 const base::FilePath user_data_dir_; variable
H A Dsnapshot_manager_unittest.cc145 void SetUp() override { ASSERT_TRUE(user_data_dir_.CreateUniqueTempDir()); } in SetUp()
147 void TearDown() override { EXPECT_TRUE(user_data_dir_.Delete()); } in TearDown()
149 base::FilePath user_data_dir() const { return user_data_dir_.GetPath(); } in user_data_dir()
169 base::ScopedTempDir user_data_dir_; member in downgrade::SnapshotManagerTest
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/
H A Dprocess_singleton_win.cc268 user_data_dir_(user_data_dir), in ProcessSingleton()
375 remote_window_ = chrome::FindRunningChromeWindow(user_data_dir_); in Create()
376 if (!remote_window_ && !EscapeVirtualization(user_data_dir_)) { in Create()
394 remote_window_ = chrome::FindRunningChromeWindow(user_data_dir_); in Create()
399 base::FilePath lock_file_path = user_data_dir_.AppendASCII(kLockfile); in Create()
420 user_data_dir_.value()); in Create()
H A Dprocess_singleton_win_unittest.cc176 ASSERT_TRUE(user_data_dir_.CreateUniqueTempDir()); in LaunchHungBrowserProcess()
211 cmd_line.AppendSwitchPath(switches::kUserDataDir, user_data_dir_.GetPath()); in MakeCmdLine()
235 return user_data_dir_.GetPath(); in user_data_dir()
254 base::ScopedTempDir user_data_dir_; member in __anonb12cbe960111::ProcessSingletonTest
H A Dchrome_browser_main.h98 return user_data_dir_; in user_data_dir()
204 base::FilePath user_data_dir_; variable
H A Dprocess_singleton_browsertest.cc62 user_data_dir_(user_data_dir), in ChromeStarter()
82 user_data_dir_); in StartChrome()
128 base::FilePath user_data_dir_; member in __anonc835fa4d0111::ChromeStarter
H A Dchrome_browser_main.cc774 if (!base::PathService::Get(chrome::DIR_USER_DATA, &user_data_dir_)) in OnLocalStateLoaded()
827 first_run::ProcessInitialPreferences(user_data_dir_, in ApplyFirstRunPrefs()
863 DCHECK(!user_data_dir_.empty()); in PreCreateThreadsImpl()
871 user_data_dir_, in PreCreateThreadsImpl()
1268 user_data_dir_)) { in PreMainMessageLoopRunImpl()
1271 downgrade_manager_.UpdateLastVersion(user_data_dir_); in PreMainMessageLoopRunImpl()
1368 user_data_dir_, in PreMainMessageLoopRunImpl()
1679 downgrade_manager_.DeleteMovedUserDataSoon(user_data_dir_); in PreMainMessageLoopRunImpl()
1789 downgrade_manager_.ProcessDowngrade(user_data_dir_); in PostDestroyThreads()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ios/chrome/browser/browser_state/
H A Dbrowser_state_info_cache.cc32 : prefs_(prefs), user_data_dir_(user_data_dir) { in BrowserStateInfoCache()
98 if (browser_state_path.DirName() != user_data_dir_) in GetIndexOfBrowserStateWithPath()
117 return user_data_dir_.AppendASCII(sorted_keys_[index]); in GetPathOfBrowserStateAtIndex()
170 return user_data_dir_; in GetUserDataDir()
197 DCHECK(user_data_dir_ == browser_state_path.DirName()); in CacheKeyFromBrowserStatePath()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/test/chromedriver/chrome/
H A Dchrome_desktop_impl.cc94 CHECK(user_data_dir_.Set(user_data_dir->Take())); in ChromeDesktopImpl()
101 base::FilePath user_data_dir = user_data_dir_.Take(); in ~ChromeDesktopImpl()
106 if (user_data_dir_.IsValid()) in ~ChromeDesktopImpl()
196 bool kill_gracefully = !user_data_dir_.IsValid(); in QuitImpl()
H A Dchrome_desktop_impl.h67 ScopedTempDirWithRetry user_data_dir_; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/safe_browsing/core/browser/
H A Dsafe_browsing_network_context.cc33 : user_data_dir_(user_data_dir), in SharedURLLoaderFactory()
128 base::FilePath cookie_path = user_data_dir_.Append( in CreateNetworkContextParams()
136 base::FilePath user_data_dir_; member in safe_browsing::SafeBrowsingNetworkContext::SharedURLLoaderFactory
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/safe_browsing/core/browser/
H A Dsafe_browsing_network_context.cc33 : user_data_dir_(user_data_dir), in SharedURLLoaderFactory()
128 base::FilePath cookie_path = user_data_dir_.Append( in CreateNetworkContextParams()
136 base::FilePath user_data_dir_; member in safe_browsing::SafeBrowsingNetworkContext::SharedURLLoaderFactory
/dports/www/chromium-legacy/chromium-88.0.4324.182/headless/test/
H A Dheadless_browser_context_browsertest.cc166 return user_data_dir_.GetPath(); in user_data_dir()
171 ASSERT_TRUE(user_data_dir_.CreateUniqueTempDir()); in SetUp()
180 base::ScopedTempDir user_data_dir_; member in headless::HeadlessBrowserUserDataDirTest
/dports/games/adonthell/adonthell-0.3.8/src/
H A Dgamedata.h274 return user_data_dir_; in user_data_dir()
390 static string user_data_dir_; variable
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/headless/lib/
H A Dheadless_browser_context_browsertest.cc167 return user_data_dir_.GetPath(); in user_data_dir()
172 ASSERT_TRUE(user_data_dir_.CreateUniqueTempDir()); in SetUp()
181 base::ScopedTempDir user_data_dir_; member in headless::HeadlessBrowserUserDataDirTest
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/profiles/
H A Dprofile_info_cache.cc65 : ProfileAttributesStorage(prefs), user_data_dir_(user_data_dir) { in ProfileInfoCache()
87 profile_attributes_entries_[user_data_dir_.AppendASCII(it.key()).value()] = in ProfileInfoCache()
186 profile_attributes_entries_[user_data_dir_.AppendASCII(key).value()] = in AddProfileToCache()
264 if (profile_path.DirName() != user_data_dir_) in GetIndexOfProfileWithPath()
275 return user_data_dir_.AppendASCII(keys_[index]); in GetPathOfProfileAtIndex()
489 return user_data_dir_; in GetUserDataDir()
521 DCHECK(user_data_dir_ == profile_path.DirName()); in CacheKeyFromProfilePath()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/browser_watcher/
H A Dactivity_report_user_stream_data_source.h33 base::FilePath user_data_dir_;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/browser_watcher/
H A Dactivity_report_user_stream_data_source.h33 base::FilePath user_data_dir_;
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/lock_screen_apps/
H A Dlock_screen_profile_creator_impl_unittest.cc224 ASSERT_TRUE(user_data_dir_.CreateUniqueTempDir()); in SetUp()
227 std::make_unique<UnittestProfileManager>(user_data_dir_.GetPath()); in SetUp()
343 user_data_dir_.GetPath().Append(ProfileHelper::Get()->GetUserProfileDir( in AddTestUserProfile()
357 base::ScopedTempDir user_data_dir_; member in __anonac0808090111::LockScreenProfileCreatorImplTest
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/web_applications/components/
H A Dweb_app_shortcut_mac_unittest.mm98 user_data_dir_ = temp_user_data_dir_.GetPath();
101 app_data_dir_ = user_data_dir_.Append("Profile 1")
110 base::PathService::Override(chrome::DIR_USER_DATA, user_data_dir_));
111 user_data_dir_ = base::MakeAbsoluteFilePath(user_data_dir_);
137 base::FilePath user_data_dir_;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/headless/lib/browser/
H A Dheadless_browser_context_options.cc60 return ReturnOverriddenValue(user_data_dir_, browser_options_->user_data_dir); in user_data_dir()
H A Dheadless_browser_context_options.h69 base::Optional<base::FilePath> user_data_dir_; variable

12