OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 CHROMECAST_RENDERER_CAST_RENDER_PROCESS_OBSERVER_H_ |
| 6 #define CHROMECAST_RENDERER_CAST_RENDER_PROCESS_OBSERVER_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" |
| 10 #include "content/public/renderer/render_process_observer.h" |
| 11 |
| 12 namespace chromecast { |
| 13 namespace media { |
| 14 class CmaMessageFilterProxy; |
| 15 } |
| 16 |
| 17 namespace shell { |
| 18 |
| 19 class CastRenderProcessObserver : public content::RenderProcessObserver { |
| 20 public: |
| 21 CastRenderProcessObserver(); |
| 22 ~CastRenderProcessObserver() override; |
| 23 |
| 24 private: |
| 25 // content::RenderProcessObserver implementation: |
| 26 void OnRenderProcessShutdown() override; |
| 27 |
| 28 void CreateCustomFilters(); |
| 29 |
| 30 #if !defined(OS_ANDROID) |
| 31 scoped_refptr<media::CmaMessageFilterProxy> cma_message_filter_proxy_; |
| 32 #endif // !defined(OS_ANDROID) |
| 33 |
| 34 DISALLOW_COPY_AND_ASSIGN(CastRenderProcessObserver); |
| 35 }; |
| 36 |
| 37 } // namespace shell |
| 38 } // namespace chromecast |
| 39 |
| 40 #endif // CHROMECAST_RENDERER_CAST_RENDER_PROCESS_OBSERVER_H_ |
OLD | NEW |