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

Unified Diff: google_apis/drive/test_util.cc

Issue 1182183003: Move EndsWith to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « extensions/common/user_script.cc ('k') | google_apis/gaia/gaia_auth_fetcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/test_util.cc
diff --git a/google_apis/drive/test_util.cc b/google_apis/drive/test_util.cc
index c621809110eed0722289aac9e407ffa634fca2ed..6a22ca0ff2bb0ba57575103cf1c4d05b60f1b4ff 100644
--- a/google_apis/drive/test_util.cc
+++ b/google_apis/drive/test_util.cc
@@ -96,7 +96,8 @@ scoped_ptr<net::test_server::BasicHttpResponse> CreateHttpResponseFromFile(
return scoped_ptr<net::test_server::BasicHttpResponse>();
std::string content_type = "text/plain";
- if (EndsWith(file_path.AsUTF8Unsafe(), ".json", true /* case sensitive */))
+ if (base::EndsWith(file_path.AsUTF8Unsafe(), ".json",
+ true /* case sensitive */))
content_type = "application/json";
scoped_ptr<net::test_server::BasicHttpResponse> http_response(
« no previous file with comments | « extensions/common/user_script.cc ('k') | google_apis/gaia/gaia_auth_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698