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

Unified Diff: content/browser/intents/web_intents_dispatcher_impl.h

Issue 9692017: An internal intents dispatcher useful for initiating an intent from the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add CONTENT_EXPORT 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/web_intents_dispatcher_impl.h
diff --git a/content/browser/intents/web_intents_dispatcher_impl.h b/content/browser/intents/web_intents_dispatcher_impl.h
index f2c1fa0802277085c658e2a8b75334730073dabc..b4bc5516c83fd8657cf80a0a01bb4a0357bb5797 100644
--- a/content/browser/intents/web_intents_dispatcher_impl.h
+++ b/content/browser/intents/web_intents_dispatcher_impl.h
@@ -37,8 +37,7 @@ class WebIntentsDispatcherImpl : public content::WebIntentsDispatcher,
virtual void SendReplyMessage(webkit_glue::WebIntentReplyType reply_type,
const string16& data) OVERRIDE;
virtual void RegisterReplyNotification(
- const base::Callback<void(webkit_glue::WebIntentReplyType)>&
- closure) OVERRIDE;
+ const content::WebIntentsDispatcher::ReplyNotification& closure) OVERRIDE;
// content::WebContentsObserver implementation.
virtual void WebContentsDestroyed(content::WebContents* tab) OVERRIDE;
@@ -54,7 +53,7 @@ class WebIntentsDispatcherImpl : public content::WebIntentsDispatcher,
IntentInjector* intent_injector_;
// Callbacks to be notified when SendReplyMessage is called.
- std::vector<base::Callback<void(webkit_glue::WebIntentReplyType)> >
+ std::vector<content::WebIntentsDispatcher::ReplyNotification>
reply_notifiers_;
DISALLOW_COPY_AND_ASSIGN(WebIntentsDispatcherImpl);

Powered by Google App Engine
This is Rietveld 408576698