OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
mark a. foltz
2016/11/15 23:41:46
Update copyright in this and other files
zhaobin
2016/11/16 18:02:41
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_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_BASE_IMPL_H_ | |
6 #define CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_BASE_IMPL_H_ | |
7 | |
8 #include <map> | |
9 | |
10 #include "chrome/browser/media/router/render_frame_host_id.h" | |
11 #include "content/public/browser/presentation_service_delegate.h" | |
12 | |
13 namespace media_router { | |
14 | |
15 class PresentationServiceDelegateBaseImpl | |
16 : public content::PresentationServiceDelegateBase { | |
17 public: | |
18 PresentationServiceDelegateBaseImpl(); | |
19 virtual ~PresentationServiceDelegateBaseImpl(); | |
20 | |
21 // content::PresentationServiceDelegateBase implementation. | |
22 void AddObserver( | |
23 int render_process_id, | |
24 int render_frame_id, | |
25 content::PresentationServiceDelegateBase::Observer* observer) override; | |
26 void RemoveObserver(int render_process_id, int render_frame_id) override; | |
27 | |
28 private: | |
29 std::map<RenderFrameHostId, | |
30 content::PresentationServiceDelegateBase::Observer*> | |
31 observers_; | |
32 }; | |
33 | |
34 } // namespace media_router | |
35 | |
36 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_BASE_IMPL_H _ | |
OLD | NEW |