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

Unified Diff: shell/android/url_response_disk_cache_delegate_impl.cc

Issue 1641513004: Update //base to chromium 9659b08ea5a34f889dc4166217f438095ddc10d2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 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: shell/android/url_response_disk_cache_delegate_impl.cc
diff --git a/shell/android/url_response_disk_cache_delegate_impl.cc b/shell/android/url_response_disk_cache_delegate_impl.cc
index 5e7d0acf3171e0d7697cf5cc3a6aeea9bed96702..badacab191f70fb18d2abc98fc3b5c940ea51fa7 100644
--- a/shell/android/url_response_disk_cache_delegate_impl.cc
+++ b/shell/android/url_response_disk_cache_delegate_impl.cc
@@ -83,7 +83,8 @@ void URLResponseDiskCacheDelegateImpl::PopulateAssetsIfNeeded() {
base::Bind(&AAssetDir_close, base::Unretained(dir)));
while (const char* filename = AAssetDir_getNextFileName(dir)) {
std::string file_name_string = filename;
- if (EndsWith(file_name_string, kMojoApplicationSuffix, true)) {
+ if (base::EndsWith(file_name_string, kMojoApplicationSuffix,
+ base::CompareCase::SENSITIVE)) {
std::string base_name = file_name_string.substr(
0,
file_name_string.size() - (arraysize(kMojoApplicationSuffix) - 1));

Powered by Google App Engine
This is Rietveld 408576698