Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
|
dominickn
2016/10/12 22:35:09
Adding new code in chrome/renderer is frowned upon
Matt Giuca
2016/12/09 04:36:48
Done.
| |
| 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_RENDERER_INSTALLATION_SERVICE_IMPL_H_ | |
| 6 #define CHROME_RENDERER_INSTALLATION_SERVICE_IMPL_H_ | |
| 7 | |
| 8 #include "third_party/WebKit/public/platform/modules/installation/installation.m ojom.h" | |
| 9 | |
| 10 namespace content { | |
| 11 class RenderFrame; | |
| 12 } // namespace content | |
| 13 | |
| 14 class InstallationServiceImpl : public blink::mojom::InstallationService { | |
| 15 public: | |
| 16 explicit InstallationServiceImpl(content::RenderFrame* render_frame); | |
| 17 | |
| 18 static void Create(content::RenderFrame* render_frame, | |
| 19 blink::mojom::InstallationServiceRequest request); | |
| 20 | |
| 21 void OnInstall() override; | |
| 22 | |
| 23 private: | |
| 24 content::RenderFrame* render_frame_; | |
| 25 }; | |
| 26 | |
| 27 #endif // CHROME_RENDERER_INSTALLATION_SERVICE_IMPL_H_ | |
| OLD | NEW |