summaryrefslogtreecommitdiffstats
path: root/ios/web/webui
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-06-12 16:46:41 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-12 23:47:38 +0000
commit17b32adf2de02e5a4cdf1c0195bb3b06c721b2ca (patch)
treee9f2d2a996fcf9f5f77a548f8471b0b5a5ac4142 /ios/web/webui
parentb8cce88bf27fe0bb4614c401d7c5bdbf193c587f (diff)
downloadchromium_src-17b32adf2de02e5a4cdf1c0195bb3b06c721b2ca.zip
chromium_src-17b32adf2de02e5a4cdf1c0195bb3b06c721b2ca.tar.gz
chromium_src-17b32adf2de02e5a4cdf1c0195bb3b06c721b2ca.tar.bz2
Move EndsWith to base namespace.
TBR=jschuh@chromium.org Review URL: https://codereview.chromium.org/1182183003 Cr-Commit-Position: refs/heads/master@{#334284}
Diffstat (limited to 'ios/web/webui')
-rw-r--r--ios/web/webui/web_ui_ios_data_source_impl.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/ios/web/webui/web_ui_ios_data_source_impl.cc b/ios/web/webui/web_ui_ios_data_source_impl.cc
index 6180836..ee0ed42 100644
--- a/ios/web/webui/web_ui_ios_data_source_impl.cc
+++ b/ios/web/webui/web_ui_ios_data_source_impl.cc
@@ -109,19 +109,19 @@ std::string WebUIIOSDataSourceImpl::GetSource() const {
}
std::string WebUIIOSDataSourceImpl::GetMimeType(const std::string& path) const {
- if (EndsWith(path, ".js", false))
+ if (base::EndsWith(path, ".js", false))
return "application/javascript";
- if (EndsWith(path, ".json", false))
+ if (base::EndsWith(path, ".json", false))
return "application/json";
- if (EndsWith(path, ".pdf", false))
+ if (base::EndsWith(path, ".pdf", false))
return "application/pdf";
- if (EndsWith(path, ".css", false))
+ if (base::EndsWith(path, ".css", false))
return "text/css";
- if (EndsWith(path, ".svg", false))
+ if (base::EndsWith(path, ".svg", false))
return "image/svg+xml";
return "text/html";