| 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 a34ddfddfe3184b2aa25f1ce087c7fae060512da..4db69d2cedde96eb6de13eaa21f9edd1f308b0f8 100644
|
| --- a/content/browser/intents/internal_web_intents_dispatcher.cc
|
| +++ b/content/browser/intents/internal_web_intents_dispatcher.cc
|
| @@ -36,6 +36,13 @@ void InternalWebIntentsDispatcher::DispatchIntent(
|
| intent_injector_->SetIntent(this, intent_);
|
| }
|
|
|
| +void InternalWebIntentsDispatcher::CancelDispatch() {
|
| + if (intent_injector_) {
|
| + intent_injector_->Abandon();
|
| + intent_injector_ = NULL;
|
| + }
|
| +}
|
| +
|
| void InternalWebIntentsDispatcher::SendReplyMessage(
|
| webkit_glue::WebIntentReplyType reply_type,
|
| const string16& data) {
|
|
|