Index: chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
index b10a7ce14ad73ef6d87b4169093e40d9a963dcba..58791d17ae5d1f498546720fe69eda4a9a720496 100644 |
--- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
+++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
@@ -290,6 +290,9 @@ class TestMessageLoop : public base::MessageLoop { |
return BrowserThread::CurrentlyOn(BrowserThread::UI); |
case base::MessageLoop::TYPE_IO: |
return BrowserThread::CurrentlyOn(BrowserThread::IO); |
+#if defined(OS_ANDROID) |
+ case base::MessageLoop::TYPE_JAVA: // fall-through |
+#endif // defined(OS_ANDROID) |
case base::MessageLoop::TYPE_DEFAULT: |
return !BrowserThread::CurrentlyOn(BrowserThread::UI) && |
!BrowserThread::CurrentlyOn(BrowserThread::IO); |