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

Unified Diff: base/message_pump_android.h

Issue 10753007: Switch base/ registrations to a static class method where appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « base/android/build_info.cc ('k') | base/message_pump_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_android.h
diff --git a/base/message_pump_android.h b/base/message_pump_android.h
index e10a7709597de89a8e9526e56bd1e8d900526b0b..e5066ae05654646dc3096948b59b069a2c9295a8 100644
--- a/base/message_pump_android.h
+++ b/base/message_pump_android.h
@@ -6,6 +6,8 @@
#define BASE_MESSAGE_PUMP_ANDROID_H_
#pragma once
+#include <jni.h>
+
#include "base/compiler_specific.h"
#include "base/message_pump.h"
#include "base/time.h"
@@ -18,7 +20,6 @@ class RunLoop;
class MessagePumpForUI : public MessagePump {
public:
MessagePumpForUI();
- virtual ~MessagePumpForUI();
virtual void Run(Delegate* delegate) OVERRIDE;
virtual void Quit() OVERRIDE;
@@ -27,6 +28,11 @@ class MessagePumpForUI : public MessagePump {
virtual void Start(Delegate* delegate);
+ static bool RegisterBindings(JNIEnv* env);
+
+ protected:
+ virtual ~MessagePumpForUI();
+
private:
base::RunLoop* run_loop_;
« no previous file with comments | « base/android/build_info.cc ('k') | base/message_pump_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698