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

Unified Diff: chrome/browser/extensions/updater/local_extension_cache_unittest.cc

Issue 2314363002: extensions: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Comment addressed 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/extensions/updater/local_extension_cache_unittest.cc
diff --git a/chrome/browser/extensions/updater/local_extension_cache_unittest.cc b/chrome/browser/extensions/updater/local_extension_cache_unittest.cc
index 1ef40a4b77bef938fa2307d1302386729d4cafb5..9147ec2f438ee16c0137e1bc296d7502649f3c2c 100644
--- a/chrome/browser/extensions/updater/local_extension_cache_unittest.cc
+++ b/chrome/browser/extensions/updater/local_extension_cache_unittest.cc
@@ -55,13 +55,13 @@ class LocalExtensionCacheTest : public testing::Test {
base::FilePath CreateCacheDir(bool initialized) {
EXPECT_TRUE(cache_dir_.CreateUniqueTempDir());
if (initialized)
- CreateFlagFile(cache_dir_.path());
- return cache_dir_.path();
+ CreateFlagFile(cache_dir_.GetPath());
+ return cache_dir_.GetPath();
}
base::FilePath CreateTempDir() {
EXPECT_TRUE(temp_dir_.CreateUniqueTempDir());
- return temp_dir_.path();
+ return temp_dir_.GetPath();
}
void CreateFlagFile(const base::FilePath& dir) {
@@ -389,7 +389,7 @@ TEST_F(LocalExtensionCacheTest, PutExtensionCases) {
// Create and initialize installation source directory.
base::ScopedTempDir temp_dir;
EXPECT_TRUE(temp_dir.CreateUniqueTempDir());
- const base::FilePath temp_path = temp_dir.path();
+ const base::FilePath temp_path = temp_dir.GetPath();
std::string version;
// Right now we have two files for the first extension
« no previous file with comments | « chrome/browser/extensions/test_extension_prefs.cc ('k') | chrome/browser/extensions/wake_event_page_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698