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

Unified Diff: chrome/browser/extensions/extension_file_util.h

Issue 170015: This change enables Chrome to load locale information for the extension. It d... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/browser/extensions/extension_file_util.h
===================================================================
--- chrome/browser/extensions/extension_file_util.h (revision 23230)
+++ chrome/browser/extensions/extension_file_util.h (working copy)
@@ -78,6 +78,13 @@
// removing others?
void GarbageCollectExtensions(const FilePath& extensions_dir);
+// We need to reserve the namespace of entries that start with "_" for future
+// use by Chrome.
+// If any files or directories are found using "_" prefix and are not on
+// reserved list we return false, and set error message.
+bool CheckForIllegalFilenames(const FilePath& extension_path,
+ std::string* error);
+
} // extension_file_util
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_UTIL_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_file_util.cc » ('j') | chrome/browser/extensions/extension_file_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698