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

Unified Diff: chrome/common/extensions/extension.cc

Issue 3077022: Extension package creation cleanup (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Now with proper threading Created 10 years, 4 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/extension.cc
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
index a6ba770c2d5e6bd7c79d5ea6be39c325ebdafe20..45a614c803b79acc92f317fe879003ecea89c2f5 100644
--- a/chrome/common/extensions/extension.cc
+++ b/chrome/common/extensions/extension.cc
@@ -167,9 +167,7 @@ const std::string Extension::VersionString() const {
// static
bool Extension::IsExtension(const FilePath& file_name) {
- return file_name.MatchesExtension(
- FilePath::StringType(FILE_PATH_LITERAL(".")) +
- chrome::kExtensionFileExtension);
+ return file_name.MatchesExtension(chrome::kExtensionFileExtension);
}
// static

Powered by Google App Engine
This is Rietveld 408576698