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

Unified Diff: chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc

Issue 1279123004: Replace ToLower calls to the new format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/custom_handlers/protocol_handler.cc ('k') | chrome/common/importer/firefox_importer_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc
diff --git a/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc b/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc
index 9ec60f06023f004ed383f529143f3f7ee5f830a3..f0508a9c723f42e7a4167edd35a6fde6eb525786 100644
--- a/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc
+++ b/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc
@@ -199,7 +199,7 @@ FileBrowserHandler* LoadFileBrowserHandler(
errors::kInvalidFileFilterValue, base::IntToString(i));
return NULL;
}
- base::StringToLowerASCII(&filter);
+ filter = base::ToLowerASCII(filter);
if (!base::StartsWith(filter, std::string(url::kFileSystemScheme) + ':',
base::CompareCase::SENSITIVE)) {
*error = extensions::ErrorUtils::FormatErrorMessageUTF16(
« no previous file with comments | « chrome/common/custom_handlers/protocol_handler.cc ('k') | chrome/common/importer/firefox_importer_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698