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

Side by Side Diff: chrome/browser/media/router/presentation_service_delegate_impl.h

Issue 2706463002: [Presentation API] Mojo typemap for content::PresentationConnectionMessage (Closed)
Patch Set: Fix compile error after rebase Created 3 years, 9 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 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 <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 const std::string& presentation_id) override; 114 const std::string& presentation_id) override;
115 void Terminate(int render_process_id, 115 void Terminate(int render_process_id,
116 int render_frame_id, 116 int render_frame_id,
117 const std::string& presentation_id) override; 117 const std::string& presentation_id) override;
118 void ListenForConnectionMessages( 118 void ListenForConnectionMessages(
119 int render_process_id, 119 int render_process_id,
120 int render_frame_id, 120 int render_frame_id,
121 const content::PresentationSessionInfo& session, 121 const content::PresentationSessionInfo& session,
122 const content::PresentationConnectionMessageCallback& message_cb) 122 const content::PresentationConnectionMessageCallback& message_cb)
123 override; 123 override;
124 void SendMessage( 124 void SendMessage(int render_process_id,
125 int render_process_id, 125 int render_frame_id,
126 int render_frame_id, 126 const content::PresentationSessionInfo& session,
127 const content::PresentationSessionInfo& session, 127 content::PresentationConnectionMessage message,
128 std::unique_ptr<content::PresentationConnectionMessage> message, 128 const SendMessageCallback& send_message_cb) override;
129 const SendMessageCallback& send_message_cb) override;
130 void ListenForConnectionStateChange( 129 void ListenForConnectionStateChange(
131 int render_process_id, 130 int render_process_id,
132 int render_frame_id, 131 int render_frame_id,
133 const content::PresentationSessionInfo& connection, 132 const content::PresentationSessionInfo& connection,
134 const content::PresentationConnectionStateChangedCallback& 133 const content::PresentationConnectionStateChangedCallback&
135 state_changed_cb) override; 134 state_changed_cb) override;
136 void ConnectToPresentation( 135 void ConnectToPresentation(
137 int render_process_id, 136 int render_process_id,
138 int render_frame_id, 137 int render_frame_id,
139 const content::PresentationSessionInfo& session, 138 const content::PresentationSessionInfo& session,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 PresentationServiceDelegateObservers observers_; 223 PresentationServiceDelegateObservers observers_;
225 224
226 base::WeakPtrFactory<PresentationServiceDelegateImpl> weak_factory_; 225 base::WeakPtrFactory<PresentationServiceDelegateImpl> weak_factory_;
227 226
228 DISALLOW_COPY_AND_ASSIGN(PresentationServiceDelegateImpl); 227 DISALLOW_COPY_AND_ASSIGN(PresentationServiceDelegateImpl);
229 }; 228 };
230 229
231 } // namespace media_router 230 } // namespace media_router
232 231
233 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ 232 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698