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

Unified Diff: net/android/network_library.cc

Issue 11293101: Stop emitting warnings for mime types not recognized by Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/android/network_library.cc
diff --git a/net/android/network_library.cc b/net/android/network_library.cc
index 6a5b592f5e5db81cb1d7c6ffafe3f8146e7b02f4..b53cefe4783cab5bb6f431a5e157414cdec24504 100644
--- a/net/android/network_library.cc
+++ b/net/android/network_library.cc
@@ -81,11 +81,8 @@ bool GetMimeTypeFromExtension(const std::string& extension,
Java_AndroidNetworkLibrary_getMimeTypeFromExtension(
env, extension_string.obj());
- if (!ret.obj()) {
- LOG(WARNING) << "Call to getMimeTypeFromExtension failed for extension: "
- << extension;
+ if (!ret.obj())
return false;
- }
*result = ConvertJavaStringToUTF8(ret);
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698