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

Unified Diff: chrome/utility/extensions/unpacker.cc

Issue 236213002: Move most of extension_file_util.cc into extensions/common/file_util.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (file-util) Created 6 years, 8 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/utility/extensions/unpacker.cc
diff --git a/chrome/utility/extensions/unpacker.cc b/chrome/utility/extensions/unpacker.cc
index 4a149877674ef79ea64947bf9a7c32e76cc6d8bd..c2ccb0d465e780d535992b303b2b8006ff2a97c5 100644
--- a/chrome/utility/extensions/unpacker.cc
+++ b/chrome/utility/extensions/unpacker.cc
@@ -25,6 +25,7 @@
#include "extensions/common/constants.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_l10n_util.h"
+#include "extensions/common/file_util.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_constants.h"
#include "grit/generated_resources.h"
@@ -202,8 +203,7 @@ bool Unpacker::Run() {
}
std::vector<InstallWarning> warnings;
- if (!extension_file_util::ValidateExtension(extension.get(),
- &error, &warnings)) {
+ if (!file_util::ValidateExtension(extension.get(), &error, &warnings)) {
SetError(error);
return false;
}

Powered by Google App Engine
This is Rietveld 408576698