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

Unified Diff: base/message_loop/message_loop.h

Issue 2169553002: Properly throw java exceptions from shouldOverrideUrlLoading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused file. Created 4 years, 4 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
Index: base/message_loop/message_loop.h
diff --git a/base/message_loop/message_loop.h b/base/message_loop/message_loop.h
index d8eae01dd5b27d16edb6a1c3f8d5557392f3d751..a2b8bed2f2e6c212448ecd8faf70d2651f79e9ba 100644
--- a/base/message_loop/message_loop.h
+++ b/base/message_loop/message_loop.h
@@ -37,6 +37,16 @@
#include "base/message_loop/message_pump_libevent.h"
#endif
+#if defined(OS_ANDROID)
+namespace base {
+namespace android {
+
+class JavaMessageHandlerFactory;
+
+} // namespace android
danakj 2016/08/17 18:40:15 git cl format?
gsennton 2016/08/17 19:23:46 Done.
+} // namespace base
+#endif // defined(OS_ANDROID
danakj 2016/08/17 18:40:15 )
gsennton 2016/08/17 19:23:46 Done.
+
namespace base {
class HistogramBase;
@@ -614,6 +624,11 @@ class BASE_EXPORT MessageLoopForUI : public MessageLoop {
// never be called. Instead use Start(), which will forward all the native UI
// events to the Java message loop.
void Start();
+ void StartForTesting(base::android::JavaMessageHandlerFactory* factory,
+ WaitableEvent* test_done_event);
+ // In Android there are cases where we want to abort immediately without
+ // calling Quit(), in these cases we call Abort().
+ void Abort();
#endif
#if defined(USE_OZONE) || (defined(USE_X11) && !defined(USE_GLIB))

Powered by Google App Engine
This is Rietveld 408576698