| Index: content/browser/android/content_video_view.h
|
| diff --git a/content/browser/android/content_video_view.h b/content/browser/android/content_video_view.h
|
| index ad8945a9683f494ac36f2ba25aefa1e430109721..3c95a7489447e7e4926033565ed7bc97103d10cf 100644
|
| --- a/content/browser/android/content_video_view.h
|
| +++ b/content/browser/android/content_video_view.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/basictypes.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/timer/timer.h"
|
|
|
| namespace content {
|
| @@ -50,7 +51,7 @@ class ContentVideoView {
|
| int GetDurationInMilliSeconds(JNIEnv*, jobject obj) const;
|
| int GetCurrentPosition(JNIEnv*, jobject obj) const;
|
| bool IsPlaying(JNIEnv*, jobject obj);
|
| - void UpdateMediaMetadata(JNIEnv*, jobject obj);
|
| + void RequestMediaMetadata(JNIEnv*, jobject obj);
|
|
|
| // Called when the Java fullscreen view is destroyed. If
|
| // |release_media_player| is true, |manager_| needs to release the player
|
| @@ -107,6 +108,9 @@ class ContentVideoView {
|
| RESUME
|
| } fullscreen_state_;
|
|
|
| + // Weak pointer for posting tasks.
|
| + base::WeakPtrFactory<ContentVideoView> weak_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ContentVideoView);
|
| };
|
|
|
|
|