OLD | NEW |
(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 InstallationServiceImpl_h |
| 6 #define InstallationServiceImpl_h |
| 7 |
| 8 #include "modules/ModulesExport.h" |
| 9 #include "platform/heap/Persistent.h" |
| 10 #include "public/platform/modules/installation/installation.mojom-blink.h" |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 class LocalFrame; |
| 15 |
| 16 class MODULES_EXPORT InstallationServiceImpl final |
| 17 : public mojom::blink::InstallationService { |
| 18 public: |
| 19 explicit InstallationServiceImpl(LocalFrame&); |
| 20 |
| 21 static void create(LocalFrame*, mojom::blink::InstallationServiceRequest); |
| 22 |
| 23 void OnInstall() override; |
| 24 |
| 25 private: |
| 26 WeakPersistent<LocalFrame> m_frame; |
| 27 }; |
| 28 |
| 29 } // namespace blink |
| 30 |
| 31 #endif // InstallationServiceImpl_h |
OLD | NEW |