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

Unified Diff: chrome/browser/extensions/extension_file_browser_private_api.cc

Issue 9328041: [filebrowser] In Gallery, do not allow file names starting with dot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 | « no previous file | chrome/browser/resources/file_manager/js/image_editor/gallery.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_file_browser_private_api.cc
===================================================================
--- chrome/browser/extensions/extension_file_browser_private_api.cc (revision 120559)
+++ chrome/browser/extensions/extension_file_browser_private_api.cc (working copy)
@@ -1573,6 +1573,9 @@
SET_STRING(IDS_FILE_BROWSER, GALLERY_UNDO);
SET_STRING(IDS_FILE_BROWSER, GALLERY_REDO);
SET_STRING(IDS_FILE_BROWSER, GALLERY_FILE_EXISTS);
+ // Reusing the string, but with alias starting with GALLERY.
+ dict->SetString("GALLERY_FILE_HIDDEN_NAME",
+ l10n_util::GetStringUTF16(IDS_FILE_BROWSER_ERROR_HIDDEN_NAME));
SET_STRING(IDS_FILE_BROWSER, CONFIRM_OVERWRITE_FILE);
SET_STRING(IDS_FILE_BROWSER, FILE_ALREADY_EXISTS);
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/image_editor/gallery.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698