| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 content::PresentationScreenAvailabilityListener* listener) override; | 70 content::PresentationScreenAvailabilityListener* listener) override; |
| 71 void Reset(int render_process_id, int render_frame_id) override; | 71 void Reset(int render_process_id, int render_frame_id) override; |
| 72 void SetDefaultPresentationUrl( | 72 void SetDefaultPresentationUrl( |
| 73 int render_process_id, | 73 int render_process_id, |
| 74 int render_frame_id, | 74 int render_frame_id, |
| 75 const std::string& default_presentation_url, | 75 const std::string& default_presentation_url, |
| 76 const std::string& default_presentation_id) override; | 76 const std::string& default_presentation_id) override; |
| 77 void StartSession(int render_process_id, | 77 void StartSession(int render_process_id, |
| 78 int render_frame_id, | 78 int render_frame_id, |
| 79 const std::string& presentation_url, | 79 const std::string& presentation_url, |
| 80 const std::string& presentation_id, | |
| 81 const PresentationSessionSuccessCallback& success_cb, | 80 const PresentationSessionSuccessCallback& success_cb, |
| 82 const PresentationSessionErrorCallback& error_cb) override; | 81 const PresentationSessionErrorCallback& error_cb) override; |
| 83 void JoinSession(int render_process_id, | 82 void JoinSession(int render_process_id, |
| 84 int render_frame_id, | 83 int render_frame_id, |
| 85 const std::string& presentation_url, | 84 const std::string& presentation_url, |
| 86 const std::string& presentation_id, | 85 const std::string& presentation_id, |
| 87 const PresentationSessionSuccessCallback& success_cb, | 86 const PresentationSessionSuccessCallback& success_cb, |
| 88 const PresentationSessionErrorCallback& error_cb) override; | 87 const PresentationSessionErrorCallback& error_cb) override; |
| 89 void CloseSession(int render_process_id, | 88 void CloseSession(int render_process_id, |
| 90 int render_frame_id, | 89 int render_frame_id, |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 scoped_ptr<PresentationFrameManager> frame_manager_; | 191 scoped_ptr<PresentationFrameManager> frame_manager_; |
| 193 | 192 |
| 194 base::WeakPtrFactory<PresentationServiceDelegateImpl> weak_factory_; | 193 base::WeakPtrFactory<PresentationServiceDelegateImpl> weak_factory_; |
| 195 | 194 |
| 196 DISALLOW_COPY_AND_ASSIGN(PresentationServiceDelegateImpl); | 195 DISALLOW_COPY_AND_ASSIGN(PresentationServiceDelegateImpl); |
| 197 }; | 196 }; |
| 198 | 197 |
| 199 } // namespace media_router | 198 } // namespace media_router |
| 200 | 199 |
| 201 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ | 200 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ |
| OLD | NEW |