Chromium Code Reviews| Index: chrome/renderer/installation_service_impl.h |
| diff --git a/chrome/renderer/installation_service_impl.h b/chrome/renderer/installation_service_impl.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..043e0c6b55e9921bc2002b8d101a3a231d5b1b48 |
| --- /dev/null |
| +++ b/chrome/renderer/installation_service_impl.h |
| @@ -0,0 +1,27 @@ |
| +// 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.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_RENDERER_INSTALLATION_SERVICE_IMPL_H_ |
| +#define CHROME_RENDERER_INSTALLATION_SERVICE_IMPL_H_ |
| + |
| +#include "third_party/WebKit/public/platform/modules/installation/installation.mojom.h" |
| + |
| +namespace content { |
| +class RenderFrame; |
| +} // namespace content |
| + |
| +class InstallationServiceImpl : public blink::mojom::InstallationService { |
| + public: |
| + explicit InstallationServiceImpl(content::RenderFrame* render_frame); |
| + |
| + static void Create(content::RenderFrame* render_frame, |
| + blink::mojom::InstallationServiceRequest request); |
| + |
| + void OnInstall() override; |
| + |
| + private: |
| + content::RenderFrame* render_frame_; |
| +}; |
| + |
| +#endif // CHROME_RENDERER_INSTALLATION_SERVICE_IMPL_H_ |