| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ |
| 6 #define CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ | 6 #define CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 void JoinSession( | 103 void JoinSession( |
| 104 int render_process_id, | 104 int render_process_id, |
| 105 int render_frame_id, | 105 int render_frame_id, |
| 106 const std::string& presentation_url, | 106 const std::string& presentation_url, |
| 107 const std::string& presentation_id, | 107 const std::string& presentation_id, |
| 108 const content::PresentationSessionStartedCallback& success_cb, | 108 const content::PresentationSessionStartedCallback& success_cb, |
| 109 const content::PresentationSessionErrorCallback& error_cb) override; | 109 const content::PresentationSessionErrorCallback& error_cb) override; |
| 110 void CloseSession(int render_process_id, | 110 void CloseSession(int render_process_id, |
| 111 int render_frame_id, | 111 int render_frame_id, |
| 112 const std::string& presentation_id) override; | 112 const std::string& presentation_id) override; |
| 113 void TerminateSession(int render_process_id, |
| 114 int render_frame_id, |
| 115 const std::string& presentation_id) override; |
| 113 void ListenForSessionMessages( | 116 void ListenForSessionMessages( |
| 114 int render_process_id, | 117 int render_process_id, |
| 115 int render_frame_id, | 118 int render_frame_id, |
| 116 const content::PresentationSessionInfo& session, | 119 const content::PresentationSessionInfo& session, |
| 117 const content::PresentationSessionMessageCallback& message_cb) override; | 120 const content::PresentationSessionMessageCallback& message_cb) override; |
| 118 void SendMessage(int render_process_id, | 121 void SendMessage(int render_process_id, |
| 119 int render_frame_id, | 122 int render_frame_id, |
| 120 const content::PresentationSessionInfo& session, | 123 const content::PresentationSessionInfo& session, |
| 121 scoped_ptr<content::PresentationSessionMessage> message, | 124 scoped_ptr<content::PresentationSessionMessage> message, |
| 122 const SendMessageCallback& send_message_cb) override; | 125 const SendMessageCallback& send_message_cb) override; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 scoped_ptr<PresentationFrameManager> frame_manager_; | 206 scoped_ptr<PresentationFrameManager> frame_manager_; |
| 204 | 207 |
| 205 base::WeakPtrFactory<PresentationServiceDelegateImpl> weak_factory_; | 208 base::WeakPtrFactory<PresentationServiceDelegateImpl> weak_factory_; |
| 206 | 209 |
| 207 DISALLOW_COPY_AND_ASSIGN(PresentationServiceDelegateImpl); | 210 DISALLOW_COPY_AND_ASSIGN(PresentationServiceDelegateImpl); |
| 208 }; | 211 }; |
| 209 | 212 |
| 210 } // namespace media_router | 213 } // namespace media_router |
| 211 | 214 |
| 212 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ | 215 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ |
| OLD | NEW |