Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2903)

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc

Issue 2321453002: c/browser, c/common, components S-W: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Just rebased Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
index be07ef67f8eaaa83f6c41cf750df556d15b8db65..7f03120c7117e491e86af228ddd6861b7ce7eb27 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
@@ -1497,7 +1497,7 @@ IN_PROC_BROWSER_TEST_F(SafeBrowsingServiceTest, StartAndStop) {
// Add a new Profile. SBS should keep running.
ASSERT_TRUE(temp_profile_dir_.CreateUniqueTempDir());
std::unique_ptr<Profile> profile2(Profile::CreateProfile(
- temp_profile_dir_.path(), nullptr, Profile::CREATE_MODE_SYNCHRONOUS));
+ temp_profile_dir_.GetPath(), nullptr, Profile::CREATE_MODE_SYNCHRONOUS));
ASSERT_TRUE(profile2);
StartupTaskRunnerServiceFactory::GetForProfile(profile2.get())->
StartDeferredTaskRunners();
@@ -1596,7 +1596,7 @@ IN_PROC_BROWSER_TEST_F(SafeBrowsingServiceShutdownTest,
ProfileManager* profile_manager = g_browser_process->profile_manager();
ASSERT_TRUE(temp_profile_dir_.CreateUniqueTempDir());
profile_manager->CreateProfileAsync(
- temp_profile_dir_.path(),
+ temp_profile_dir_.GetPath(),
base::Bind(&SafeBrowsingServiceShutdownTest::OnUnblockOnProfileCreation,
base::Unretained(this)),
base::string16(), std::string(), std::string());

Powered by Google App Engine
This is Rietveld 408576698