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

Unified Diff: chrome/browser/profile_resetter/profile_resetter_unittest.cc

Issue 2317123002: c/browser, c/common, components O-P: 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
« no previous file with comments | « chrome/browser/process_singleton_win_unittest.cc ('k') | chrome/browser/profiles/profile_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile_resetter/profile_resetter_unittest.cc
diff --git a/chrome/browser/profile_resetter/profile_resetter_unittest.cc b/chrome/browser/profile_resetter/profile_resetter_unittest.cc
index 267a9ad602b717c0a704cbef855972cff7a1196a..017f4696e3a2969418839656407f0fef831d28a5 100644
--- a/chrome/browser/profile_resetter/profile_resetter_unittest.cc
+++ b/chrome/browser/profile_resetter/profile_resetter_unittest.cc
@@ -559,12 +559,9 @@ TEST_F(ProfileResetterTest, ResetExtensionsByDisabling) {
base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
- scoped_refptr<Extension> theme =
- CreateExtension(base::ASCIIToUTF16("example1"),
- temp_dir.path(),
- Manifest::INVALID_LOCATION,
- extensions::Manifest::TYPE_THEME,
- false);
+ scoped_refptr<Extension> theme = CreateExtension(
+ base::ASCIIToUTF16("example1"), temp_dir.GetPath(),
+ Manifest::INVALID_LOCATION, extensions::Manifest::TYPE_THEME, false);
service_->FinishInstallationForTest(theme.get());
// Let ThemeService finish creating the theme pack.
base::RunLoop().RunUntilIdle();
@@ -655,12 +652,9 @@ TEST_F(ProfileResetterTest, ResetExtensionsAndDefaultApps) {
base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
- scoped_refptr<Extension> ext1 =
- CreateExtension(base::ASCIIToUTF16("example1"),
- temp_dir.path(),
- Manifest::INVALID_LOCATION,
- extensions::Manifest::TYPE_THEME,
- false);
+ scoped_refptr<Extension> ext1 = CreateExtension(
+ base::ASCIIToUTF16("example1"), temp_dir.GetPath(),
+ Manifest::INVALID_LOCATION, extensions::Manifest::TYPE_THEME, false);
service_->FinishInstallationForTest(ext1.get());
// Let ThemeService finish creating the theme pack.
base::RunLoop().RunUntilIdle();
« no previous file with comments | « chrome/browser/process_singleton_win_unittest.cc ('k') | chrome/browser/profiles/profile_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698