| Index: chrome/browser/intents/register_intent_handler_infobar_delegate.h
|
| diff --git a/chrome/browser/intents/register_intent_handler_infobar_delegate.h b/chrome/browser/intents/register_intent_handler_infobar_delegate.h
|
| index 21bc4de073089e40b5da40a1b04f101a1f4c475a..0d51adeaaffc62bff36187b7587c662b64d3e1bb 100644
|
| --- a/chrome/browser/intents/register_intent_handler_infobar_delegate.h
|
| +++ b/chrome/browser/intents/register_intent_handler_infobar_delegate.h
|
| @@ -13,6 +13,8 @@
|
|
|
| class TabContents;
|
| class WebIntentsRegistry;
|
| +class FaviconService;
|
| +class GURL;
|
|
|
| // The InfoBar used to request permission for a site to be registered as an
|
| // Intent handler.
|
| @@ -21,7 +23,9 @@ class RegisterIntentHandlerInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| RegisterIntentHandlerInfoBarDelegate(
|
| InfoBarTabHelper* infobar_helper,
|
| WebIntentsRegistry* registry,
|
| - const webkit_glue::WebIntentServiceData& service);
|
| + const webkit_glue::WebIntentServiceData& service,
|
| + FaviconService* favicon_service,
|
| + const GURL& origin_url);
|
|
|
| // ConfirmInfoBarDelegate implementation.
|
| virtual Type GetInfoBarType() const OVERRIDE;
|
| @@ -38,6 +42,12 @@ class RegisterIntentHandlerInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| // The cached intent service data bundle passed up from the renderer.
|
| webkit_glue::WebIntentServiceData service_;
|
|
|
| + // The favicon service to use. Weak pointer.
|
| + FaviconService* favicon_service_;
|
| +
|
| + // The URL of the page the service was originally registered from.
|
| + GURL origin_url_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(RegisterIntentHandlerInfoBarDelegate);
|
| };
|
|
|
|
|