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

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: This would be a lot easier if I could actually compile on Windows 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
« no previous file with comments | « chrome/common/chrome_constants.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.cc
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
index 902eab41745b1a60e336bf01bf2d825b8ae44d1f..acb88f47e507ebad0d9e0e750ee8df75a87b4f56 100644
--- a/chrome/common/extensions/extension.cc
+++ b/chrome/common/extensions/extension.cc
@@ -168,9 +168,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
« no previous file with comments | « chrome/common/chrome_constants.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698