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

Unified Diff: chrome/browser/web_applications/web_app_mac_unittest.mm

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/web_applications/web_app_mac_unittest.mm
diff --git a/chrome/browser/web_applications/web_app_mac_unittest.mm b/chrome/browser/web_applications/web_app_mac_unittest.mm
index 03907b3d5ba9a09b0e91114bdf059afccc991655..562d933b0f2418ae3ef23d8654cd374a6e1acd37 100644
--- a/chrome/browser/web_applications/web_app_mac_unittest.mm
+++ b/chrome/browser/web_applications/web_app_mac_unittest.mm
@@ -86,8 +86,8 @@ class WebAppShortcutCreatorTest : public testing::Test {
EXPECT_TRUE(temp_app_data_dir_.CreateUniqueTempDir());
EXPECT_TRUE(temp_destination_dir_.CreateUniqueTempDir());
- app_data_dir_ = temp_app_data_dir_.path();
- destination_dir_ = temp_destination_dir_.path();
+ app_data_dir_ = temp_app_data_dir_.GetPath();
+ destination_dir_ = temp_destination_dir_.GetPath();
info_ = GetShortcutInfo();
shim_base_name_ = base::FilePath(info_->profile_path.BaseName().value() +
@@ -158,7 +158,7 @@ TEST_F(WebAppShortcutCreatorTest, CreateShortcuts) {
TEST_F(WebAppShortcutCreatorTest, UpdateShortcuts) {
base::ScopedTempDir other_folder_temp_dir;
EXPECT_TRUE(other_folder_temp_dir.CreateUniqueTempDir());
- base::FilePath other_folder = other_folder_temp_dir.path();
+ base::FilePath other_folder = other_folder_temp_dir.GetPath();
base::FilePath other_shim_path = other_folder.Append(shim_base_name_);
NiceMock<WebAppShortcutCreatorMock> shortcut_creator(app_data_dir_,
@@ -195,7 +195,7 @@ TEST_F(WebAppShortcutCreatorTest, UpdateShortcuts) {
TEST_F(WebAppShortcutCreatorTest, UpdateBookmarkAppShortcut) {
base::ScopedTempDir other_folder_temp_dir;
EXPECT_TRUE(other_folder_temp_dir.CreateUniqueTempDir());
- base::FilePath other_folder = other_folder_temp_dir.path();
+ base::FilePath other_folder = other_folder_temp_dir.GetPath();
base::FilePath other_shim_path = other_folder.Append(shim_base_name_);
info_->from_bookmark = true;
@@ -228,7 +228,7 @@ TEST_F(WebAppShortcutCreatorTest, DeleteShortcuts) {
base::ScopedTempDir other_folder_temp_dir;
EXPECT_TRUE(other_folder_temp_dir.CreateUniqueTempDir());
- base::FilePath other_folder = other_folder_temp_dir.path();
+ base::FilePath other_folder = other_folder_temp_dir.GetPath();
base::FilePath other_shim_path = other_folder.Append(shim_base_name_);
NiceMock<WebAppShortcutCreatorMock> shortcut_creator(app_data_dir_,
« no previous file with comments | « chrome/browser/web_applications/web_app_mac.mm ('k') | chrome/common/safe_browsing/binary_feature_extractor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698