| 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 CONTENT_PUBLIC_BROWSER_PRESENTATION_SERVICE_DELEGATE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_PRESENTATION_SERVICE_DELEGATE_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_PRESENTATION_SERVICE_DELEGATE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_PRESENTATION_SERVICE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 14 #include "content/public/browser/presentation_connection_message.h" | 14 #include "content/public/common/presentation_connection_message.h" |
| 15 #include "content/public/browser/presentation_session.h" | 15 #include "content/public/common/presentation_session.h" |
| 16 | 16 |
| 17 class GURL; | 17 class GURL; |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 | 20 |
| 21 class PresentationScreenAvailabilityListener; | 21 class PresentationScreenAvailabilityListener; |
| 22 | 22 |
| 23 using PresentationSessionStartedCallback = | 23 using PresentationSessionStartedCallback = |
| 24 base::Callback<void(const PresentationSessionInfo&)>; | 24 base::Callback<void(const PresentationSessionInfo&)>; |
| 25 using PresentationSessionErrorCallback = | 25 using PresentationSessionErrorCallback = |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 virtual void ListenForConnectionStateChange( | 201 virtual void ListenForConnectionStateChange( |
| 202 int render_process_id, | 202 int render_process_id, |
| 203 int render_frame_id, | 203 int render_frame_id, |
| 204 const PresentationSessionInfo& connection, | 204 const PresentationSessionInfo& connection, |
| 205 const PresentationConnectionStateChangedCallback& state_changed_cb) = 0; | 205 const PresentationConnectionStateChangedCallback& state_changed_cb) = 0; |
| 206 }; | 206 }; |
| 207 | 207 |
| 208 } // namespace content | 208 } // namespace content |
| 209 | 209 |
| 210 #endif // CONTENT_PUBLIC_BROWSER_PRESENTATION_SERVICE_DELEGATE_H_ | 210 #endif // CONTENT_PUBLIC_BROWSER_PRESENTATION_SERVICE_DELEGATE_H_ |
| OLD | NEW |