OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_DESKTOP_H_ | |
6 #define CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_DESKTOP_H_ | |
7 | |
8 #include "chrome/browser/banners/app_banner_manager.h" | |
9 | |
10 #include "content/public/browser/web_contents_user_data.h" | |
11 | |
12 namespace banners { | |
13 | |
14 class AppBannerManagerDesktop | |
15 : public AppBannerManager, | |
16 public content::WebContentsUserData<AppBannerManagerDesktop> { | |
17 | |
18 protected: | |
19 AppBannerDataFetcher* CreateAppBannerDataFetcher( | |
20 base::WeakPtr<AppBannerDataFetcher::Delegate> weak_delegate, | |
21 const int ideal_icon_size) override; | |
22 | |
23 private: | |
24 explicit AppBannerManagerDesktop(content::WebContents* web_contents); | |
25 friend class content::WebContentsUserData<AppBannerManagerDesktop>; | |
26 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.
| |
27 }; | |
28 | |
29 } // namespace banners | |
30 | |
31 #endif // CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_DESKTOP_H_ | |
OLD | NEW |