| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 InstalledAppController_h | 5 #ifndef InstalledAppController_h |
| 6 #define InstalledAppController_h | 6 #define InstalledAppController_h |
| 7 | 7 |
| 8 #include "core/dom/ContextLifecycleObserver.h" | 8 #include "core/dom/ContextLifecycleObserver.h" |
| 9 #include "core/frame/LocalFrame.h" | 9 #include "core/frame/LocalFrame.h" |
| 10 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
| 11 #include "platform/Supplementable.h" | 11 #include "platform/Supplementable.h" |
| 12 #include "platform/wtf/RefPtr.h" |
| 13 #include "platform/wtf/Vector.h" |
| 12 #include "public/platform/WebVector.h" | 14 #include "public/platform/WebVector.h" |
| 13 #include "public/platform/modules/installedapp/WebRelatedApplication.h" | 15 #include "public/platform/modules/installedapp/WebRelatedApplication.h" |
| 14 #include "public/platform/modules/installedapp/WebRelatedAppsFetcher.h" | 16 #include "public/platform/modules/installedapp/WebRelatedAppsFetcher.h" |
| 15 #include "public/platform/modules/installedapp/installed_app_provider.mojom-blin
k.h" | 17 #include "public/platform/modules/installedapp/installed_app_provider.mojom-blin
k.h" |
| 16 #include "public/platform/modules/installedapp/related_application.mojom-blink.h
" | 18 #include "public/platform/modules/installedapp/related_application.mojom-blink.h
" |
| 17 #include "wtf/RefPtr.h" | |
| 18 #include "wtf/Vector.h" | |
| 19 | 19 |
| 20 #include <memory> | 20 #include <memory> |
| 21 | 21 |
| 22 namespace blink { | 22 namespace blink { |
| 23 | 23 |
| 24 class MODULES_EXPORT InstalledAppController final | 24 class MODULES_EXPORT InstalledAppController final |
| 25 : public GarbageCollectedFinalized<InstalledAppController>, | 25 : public GarbageCollectedFinalized<InstalledAppController>, |
| 26 public Supplement<LocalFrame>, | 26 public Supplement<LocalFrame>, |
| 27 public ContextLifecycleObserver { | 27 public ContextLifecycleObserver { |
| 28 USING_GARBAGE_COLLECTED_MIXIN(InstalledAppController); | 28 USING_GARBAGE_COLLECTED_MIXIN(InstalledAppController); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 // Handle to the InstalledApp mojo service. | 62 // Handle to the InstalledApp mojo service. |
| 63 mojom::blink::InstalledAppProviderPtr provider_; | 63 mojom::blink::InstalledAppProviderPtr provider_; |
| 64 | 64 |
| 65 WebRelatedAppsFetcher* related_apps_fetcher_; | 65 WebRelatedAppsFetcher* related_apps_fetcher_; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace blink | 68 } // namespace blink |
| 69 | 69 |
| 70 #endif // InstalledAppController_h | 70 #endif // InstalledAppController_h |
| OLD | NEW |