Chromium Code Reviews| Index: chrome/browser/banners/app_banner_manager_desktop.h |
| diff --git a/chrome/browser/banners/app_banner_manager_desktop.h b/chrome/browser/banners/app_banner_manager_desktop.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ad7a4a556a5bfd58d1dd72f016d9d34523d85919 |
| --- /dev/null |
| +++ b/chrome/browser/banners/app_banner_manager_desktop.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_DESKTOP_H_ |
| +#define CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_DESKTOP_H_ |
| + |
| +#include "chrome/browser/banners/app_banner_manager.h" |
| + |
| +#include "content/public/browser/web_contents_user_data.h" |
| + |
| +namespace banners { |
| + |
| +class AppBannerManagerDesktop |
| + : public AppBannerManager, |
| + public content::WebContentsUserData<AppBannerManagerDesktop> { |
| + |
| + protected: |
| + AppBannerDataFetcher* CreateAppBannerDataFetcher( |
| + base::WeakPtr<AppBannerDataFetcher::Delegate> weak_delegate, |
| + const int ideal_icon_size) override; |
| + |
| + private: |
| + explicit AppBannerManagerDesktop(content::WebContents* web_contents); |
| + friend class content::WebContentsUserData<AppBannerManagerDesktop>; |
| + DISALLOW_COPY_AND_ASSIGN(AppBannerManagerDesktop); |
|
benwells
2015/06/03 06:13:55
Nit: blank line before DISALLOW....
dominickn (DO NOT USE)
2015/06/03 07:10:36
Done.
|
| +}; |
| + |
| +} // namespace banners |
| + |
| +#endif // CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_DESKTOP_H_ |