Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Side by Side Diff: chrome/browser/banners/app_banner_manager_emulation.h

Issue 2156113002: Replace AppBannerDataFetcher with InstallableManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@banner-refactor
Patch Set: Naming, includes Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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_EMULATION_H_
6 #define CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_EMULATION_H_
7
8 #include "chrome/browser/banners/app_banner_manager.h"
9
10 #include "base/macros.h"
11 #include "content/public/browser/web_contents_user_data.h"
12
13 namespace banners {
14
15 class AppBannerManagerEmulation
16 : public AppBannerManager,
17 public content::WebContentsUserData<AppBannerManagerEmulation> {
18
19 protected:
20 AppBannerDataFetcher* CreateAppBannerDataFetcher(
21 base::WeakPtr<AppBannerDataFetcher::Delegate> weak_delegate,
22 bool is_debug_mode) override;
23
24 private:
25 explicit AppBannerManagerEmulation(content::WebContents* web_contents);
26 friend class content::WebContentsUserData<AppBannerManagerEmulation>;
27
28 DISALLOW_COPY_AND_ASSIGN(AppBannerManagerEmulation);
29 };
30
31 } // namespace banners
32
33 #endif // CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_EMULATION_H_
OLDNEW
« no previous file with comments | « chrome/browser/banners/app_banner_manager_desktop.cc ('k') | chrome/browser/banners/app_banner_manager_emulation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698