Index: content/browser/intents/internal_web_intents_dispatcher.cc |
diff --git a/content/browser/intents/internal_web_intents_dispatcher.cc b/content/browser/intents/internal_web_intents_dispatcher.cc |
index dcb9e63bcf29ff906b8a9d58a5773cb6e169cf47..8d452e6533ab7640156f6916201a6b21e7ee02bf 100644 |
--- a/content/browser/intents/internal_web_intents_dispatcher.cc |
+++ b/content/browser/intents/internal_web_intents_dispatcher.cc |
@@ -5,11 +5,22 @@ |
#include "content/browser/intents/internal_web_intents_dispatcher.h" |
#include "content/browser/intents/intent_injector.h" |
+#include "content/public/browser/web_contents.h" |
+#include "content/public/browser/web_contents_delegate.h" |
#include "webkit/glue/web_intent_data.h" |
#include "webkit/glue/web_intent_reply_data.h" |
using content::WebContents; |
+namespace content { |
+ |
+content::WebIntentsDispatcher* WebIntentsDispatcher::Create( |
+ const webkit_glue::WebIntentData& data) { |
+ return new InternalWebIntentsDispatcher(data); |
+} |
+ |
+// InternalWebIntentsDispatcher |
+ |
InternalWebIntentsDispatcher::InternalWebIntentsDispatcher( |
const webkit_glue::WebIntentData& intent) |
: intent_(intent), |
@@ -57,3 +68,5 @@ void InternalWebIntentsDispatcher::RegisterReplyNotification( |
const content::WebIntentsDispatcher::ReplyNotification& closure) { |
reply_notifiers_.push_back(closure); |
} |
+ |
+} // namespace content |