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

Unified Diff: chrome/common/extensions/api/storage/storage_schema_manifest_handler_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/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc
diff --git a/chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc b/chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc
index be03b518a800707ca2fd2364446623cfa36bc5d3..8bbcc5b977c8fd468b6901c50feb83799a8146a4 100644
--- a/chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc
+++ b/chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc
@@ -37,12 +37,12 @@ class StorageSchemaManifestHandlerTest : public testing::Test {
scoped_refptr<Extension> CreateExtension(const std::string& schema) {
std::string error;
- scoped_refptr<Extension> extension = Extension::Create(
- temp_dir_.path(), Manifest::UNPACKED, manifest_,
- Extension::NO_FLAGS, "", &error);
+ scoped_refptr<Extension> extension =
+ Extension::Create(temp_dir_.GetPath(), Manifest::UNPACKED, manifest_,
+ Extension::NO_FLAGS, "", &error);
if (!extension.get())
return NULL;
- base::FilePath schema_path = temp_dir_.path().AppendASCII("schema.json");
+ base::FilePath schema_path = temp_dir_.GetPath().AppendASCII("schema.json");
if (schema.empty()) {
base::DeleteFile(schema_path, false);
} else {

Powered by Google App Engine
This is Rietveld 408576698