Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: content/public/browser/presentation_service_delegate.h

Issue 2617143006: [Presentation API] Move Presentation API structs to public/common (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/public/browser/presentation_connection_message.cc ('k') | content/public/browser/presentation_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698