Index: chrome/browser/ui/intents/web_intent_picker_delegate.h |
diff --git a/chrome/browser/ui/intents/web_intent_picker_delegate.h b/chrome/browser/ui/intents/web_intent_picker_delegate.h |
index f6ef88f84348d7849781f53c3adcc0b14ea9502a..296dea191504411efa4aecbf0a3edaf98e70b316 100644 |
--- a/chrome/browser/ui/intents/web_intent_picker_delegate.h |
+++ b/chrome/browser/ui/intents/web_intent_picker_delegate.h |
@@ -6,6 +6,7 @@ |
#define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_DELEGATE_H_ |
#pragma once |
+#include <string> |
#include "chrome/browser/ui/intents/web_intent_picker_model.h" |
namespace content { |
@@ -29,6 +30,9 @@ class WebIntentPickerDelegate { |
virtual void OnInlineDispositionWebContentsCreated( |
content::WebContents* web_contents) = 0; |
+ // Called when the user has chosen to install a suggested extension. |
+ virtual void OnExtensionInstallRequested(const std::string& id) = 0; |
+ |
// Called when the user cancels out of the dialog, whether by closing it |
// manually or otherwise purposefully. |
virtual void OnCancelled() = 0; |