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

Unified Diff: chrome/browser/extensions/app_background_page_apitest.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/app_background_page_apitest.cc
diff --git a/chrome/browser/extensions/app_background_page_apitest.cc b/chrome/browser/extensions/app_background_page_apitest.cc
index 3c134afe660375732ee963aa1835370c963b6976..219c73969bd716567264754cc138a00a55b4a7d0 100644
--- a/chrome/browser/extensions/app_background_page_apitest.cc
+++ b/chrome/browser/extensions/app_background_page_apitest.cc
@@ -57,7 +57,8 @@ class AppBackgroundPageApiTest : public ExtensionApiTest {
LOG(ERROR) << "Unable to create a temporary directory.";
return false;
}
- base::FilePath manifest_path = app_dir_.path().AppendASCII("manifest.json");
+ base::FilePath manifest_path =
+ app_dir_.GetPath().AppendASCII("manifest.json");
int bytes_written = base::WriteFile(manifest_path,
app_manifest.data(),
app_manifest.size());
@@ -66,7 +67,7 @@ class AppBackgroundPageApiTest : public ExtensionApiTest {
<< bytes_written;
return false;
}
- *app_dir = app_dir_.path();
+ *app_dir = app_dir_.GetPath();
return true;
}

Powered by Google App Engine
This is Rietveld 408576698