| Index: chrome/browser/banners/app_banner_manager.h
|
| diff --git a/chrome/browser/banners/app_banner_manager.h b/chrome/browser/banners/app_banner_manager.h
|
| index b90605382bdd72ff611550c200bb05f348917443..4c13d145bc6b3a7caaebd645a51e6225add78817 100644
|
| --- a/chrome/browser/banners/app_banner_manager.h
|
| +++ b/chrome/browser/banners/app_banner_manager.h
|
| @@ -76,6 +76,10 @@ class AppBannerManager : public content::WebContentsObserver,
|
| // nothing if |request_id| does not match the current request.
|
| void SendBannerDismissed(int request_id);
|
|
|
| + // Returns a WeakPtr to this object. Exposed so subclasses/infobars may
|
| + // may bind callbacks without needing their own WeakPtrFactory.
|
| + base::WeakPtr<AppBannerManager> GetWeakPtr();
|
| +
|
| // Overridden and passed through base::Bind on desktop platforms. Called when
|
| // the bookmark app install initiated by a banner has completed. Not used on
|
| // Android.
|
| @@ -133,10 +137,6 @@ class AppBannerManager : public content::WebContentsObserver,
|
| virtual int GetIdealPrimaryIconSizeInPx();
|
| virtual int GetMinimumPrimaryIconSizeInPx();
|
|
|
| - // Returns a WeakPtr to this object. Exposed so subclasses/infobars may
|
| - // may bind callbacks without needing their own WeakPtrFactory.
|
| - base::WeakPtr<AppBannerManager> GetWeakPtr();
|
| -
|
| // Returns true if |is_debug_mode_| is true or the
|
| // kBypassAppBannerEngagementChecks flag is set.
|
| virtual bool IsDebugMode() const;
|
|
|