| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_H_ |
| 6 #define CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_H_ | 6 #define CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 11 #include "chrome/browser/banners/app_banner_data_fetcher.h" | 12 #include "chrome/browser/banners/app_banner_data_fetcher.h" |
| 12 #include "content/public/browser/web_contents_observer.h" | 13 #include "content/public/browser/web_contents_observer.h" |
| 13 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerProm
ptReply.h" | 14 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerProm
ptReply.h" |
| 14 | 15 |
| 15 namespace content { | 16 namespace content { |
| 16 struct FrameNavigateParams; | 17 struct FrameNavigateParams; |
| 17 struct LoadCommittedDetails; | 18 struct LoadCommittedDetails; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 // longer than the lifetime of this banner manager. The banner manager | 83 // longer than the lifetime of this banner manager. The banner manager |
| 83 // might be gone when calls sent to the ServiceWorkerContext are completed. | 84 // might be gone when calls sent to the ServiceWorkerContext are completed. |
| 84 base::WeakPtrFactory<AppBannerManager> weak_factory_; | 85 base::WeakPtrFactory<AppBannerManager> weak_factory_; |
| 85 | 86 |
| 86 DISALLOW_COPY_AND_ASSIGN(AppBannerManager); | 87 DISALLOW_COPY_AND_ASSIGN(AppBannerManager); |
| 87 }; // class AppBannerManager | 88 }; // class AppBannerManager |
| 88 | 89 |
| 89 } // namespace banners | 90 } // namespace banners |
| 90 | 91 |
| 91 #endif // CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_H_ | 92 #endif // CHROME_BROWSER_BANNERS_APP_BANNER_MANAGER_H_ |
| OLD | NEW |