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

Unified Diff: components/gcm_driver/gcm_client_impl_unittest.cc

Issue 2317003002: //chrome/browser and //components F-L: 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: components/gcm_driver/gcm_client_impl_unittest.cc
diff --git a/components/gcm_driver/gcm_client_impl_unittest.cc b/components/gcm_driver/gcm_client_impl_unittest.cc
index 486581fd529616df0fcb1af58af7d552b406b131..4a17c9543e6f3dfb42ae2da234149b928afc168a 100644
--- a/components/gcm_driver/gcm_client_impl_unittest.cc
+++ b/components/gcm_driver/gcm_client_impl_unittest.cc
@@ -364,14 +364,14 @@ class GCMClientImplTest : public testing::Test,
}
const base::FilePath& temp_directory_path() const {
- return temp_directory_.path();
+ return temp_directory_.GetPath();
}
base::FilePath gcm_store_path() const {
// Pass an non-existent directory as store path to match the exact
// behavior in the production code. Currently GCMStoreImpl checks if
// the directory exist or not to determine the store existence.
- return temp_directory_.path().Append(FILE_PATH_LITERAL("GCM Store"));
+ return temp_directory_.GetPath().Append(FILE_PATH_LITERAL("GCM Store"));
}
int64_t CurrentTime();
« no previous file with comments | « components/gcm_driver/crypto/gcm_key_store_unittest.cc ('k') | components/gcm_driver/gcm_driver_desktop_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698