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( |