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

Unified Diff: content/browser/intents/internal_web_intents_dispatcher.cc

Issue 9651020: Pass content-type resources to web intents. Goes through download, then invokes the p… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move to an internal Create method. Created 8 years, 9 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: 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..88a6420e996a32dca7e308dbf333c839b389f334 100644
--- a/content/browser/intents/internal_web_intents_dispatcher.cc
+++ b/content/browser/intents/internal_web_intents_dispatcher.cc
@@ -5,6 +5,8 @@
#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"
@@ -57,3 +59,12 @@ void InternalWebIntentsDispatcher::RegisterReplyNotification(
const content::WebIntentsDispatcher::ReplyNotification& closure) {
reply_notifiers_.push_back(closure);
}
+
+namespace content {
+
+content::WebIntentsDispatcher* WebIntentsDispatcher::Create(
jam 2012/03/29 17:59:19 nit: by convention we put this in the to of the fi
Greg Billock 2012/03/29 18:45:08 I can't put an impl file in the public/browser dir
jam 2012/03/30 16:09:44 I meant in the impl file in content\browser, i.e.
jam 2012/04/02 15:05:08 ping?
Greg Billock 2012/04/02 16:15:03 Done.
+ const webkit_glue::WebIntentData& data) {
+ return new InternalWebIntentsDispatcher(data);
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698