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

Unified Diff: mojo/tools/package_manager/unpacker.cc

Issue 600683002: Recursively load mojo packages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « mojo/tools/package_manager/package_manager_application.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/package_manager/unpacker.cc
diff --git a/mojo/tools/package_manager/unpacker.cc b/mojo/tools/package_manager/unpacker.cc
index 39f26743bac72972e11da14dfcee3f4c0fcf0694..8ed34d58ab3a867bb581539d65e11986f9e456b8 100644
--- a/mojo/tools/package_manager/unpacker.cc
+++ b/mojo/tools/package_manager/unpacker.cc
@@ -14,10 +14,8 @@ Unpacker::Unpacker() {
}
Unpacker::~Unpacker() {
- if (!dir_.empty()) {
- printf("Deleting %s\n", dir_.value().c_str());
- //DeleteFile(dir_, true);
- }
+ if (!dir_.empty())
+ DeleteFile(dir_, true);
}
bool Unpacker::Unpack(const base::FilePath& zip_file) {
« no previous file with comments | « mojo/tools/package_manager/package_manager_application.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698