Index: chrome/browser/intents/web_intents_util.h |
diff --git a/chrome/browser/intents/web_intents_util.h b/chrome/browser/intents/web_intents_util.h |
index 5ec4521c2f93b0c995a9d34a39ef3e883669722b..d80a8390c160fd69e923bc7325cac77d1b0ecd0a 100644 |
--- a/chrome/browser/intents/web_intents_util.h |
+++ b/chrome/browser/intents/web_intents_util.h |
@@ -5,6 +5,7 @@ |
#ifndef CHROME_BROWSER_INTENTS_WEB_INTENTS_UTIL_H_ |
#define CHROME_BROWSER_INTENTS_WEB_INTENTS_UTIL_H_ |
+class Browser; |
class Profile; |
class PrefService; |
@@ -20,6 +21,11 @@ bool IsWebIntentsEnabled(PrefService* prefs); |
// the Profile to check that WebIntents are enabled for. |
bool IsWebIntentsEnabledForProfile(Profile* profile); |
+// In a context where we are generating a web intent based on internal events, |
+// or from an extension background page, get the browser in which to show the |
+// intent picker to the user. |
+Browser* GetWebIntentDeliveryBrowser(Profile* profile); |
+ |
} // namespace web_intents |
#endif // CHROME_BROWSER_INTENTS_WEB_INTENTS_UTIL_H_ |