Index: components/plugins/renderer/mobile_youtube_plugin.h |
diff --git a/components/plugins/renderer/mobile_youtube_plugin.h b/components/plugins/renderer/mobile_youtube_plugin.h |
index 2fad63a032aee01041b33579f158ffc45502cc60..a7654da7ed998922e279818eeadaeffcf27fced4 100644 |
--- a/components/plugins/renderer/mobile_youtube_plugin.h |
+++ b/components/plugins/renderer/mobile_youtube_plugin.h |
@@ -26,13 +26,18 @@ class MobileYouTubePlugin : public PluginPlaceholder { |
static bool IsYouTubeURL(const GURL& url, const std::string& mime_type); |
private: |
+ virtual ~MobileYouTubePlugin(); |
+ |
// Opens a youtube app in the current tab. |
- void OpenYoutubeUrlCallback(const webkit_glue::CppArgumentList& args, |
- webkit_glue::CppVariant* result); |
+ void OpenYoutubeUrlCallback(); |
// WebViewPlugin::Delegate (via PluginPlaceholder) method |
virtual void BindWebFrame(blink::WebFrame* frame) OVERRIDE; |
+ // gin::Wrappable (via PluginPlaceholder) method |
+ virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder( |
+ v8::Isolate* isolate) OVERRIDE; |
+ |
DISALLOW_COPY_AND_ASSIGN(MobileYouTubePlugin); |
}; |