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

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

Issue 1507743005: [MediaRouter] Renames CloseRoute() to Terminate() and creates DetachRoute() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android build Created 5 years 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 <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 const std::string& presentation_url, 100 const std::string& presentation_url,
101 const content::PresentationSessionStartedCallback& success_cb, 101 const content::PresentationSessionStartedCallback& success_cb,
102 const content::PresentationSessionErrorCallback& error_cb) override; 102 const content::PresentationSessionErrorCallback& error_cb) override;
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 CloseConnection(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, 113 void Terminate(int render_process_id,
114 int render_frame_id, 114 int render_frame_id,
115 const std::string& presentation_id) override; 115 const std::string& presentation_id) override;
116 void ListenForSessionMessages( 116 void ListenForSessionMessages(
117 int render_process_id, 117 int render_process_id,
118 int render_frame_id, 118 int render_frame_id,
119 const content::PresentationSessionInfo& session, 119 const content::PresentationSessionInfo& session,
120 const content::PresentationSessionMessageCallback& message_cb) override; 120 const content::PresentationSessionMessageCallback& message_cb) override;
121 void SendMessage(int render_process_id, 121 void SendMessage(int render_process_id,
122 int render_frame_id, 122 int render_frame_id,
123 const content::PresentationSessionInfo& session, 123 const content::PresentationSessionInfo& session,
124 scoped_ptr<content::PresentationSessionMessage> message, 124 scoped_ptr<content::PresentationSessionMessage> message,
125 const SendMessageCallback& send_message_cb) override; 125 const SendMessageCallback& send_message_cb) override;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 scoped_ptr<PresentationFrameManager> frame_manager_; 208 scoped_ptr<PresentationFrameManager> frame_manager_;
209 209
210 base::WeakPtrFactory<PresentationServiceDelegateImpl> weak_factory_; 210 base::WeakPtrFactory<PresentationServiceDelegateImpl> weak_factory_;
211 211
212 DISALLOW_COPY_AND_ASSIGN(PresentationServiceDelegateImpl); 212 DISALLOW_COPY_AND_ASSIGN(PresentationServiceDelegateImpl);
213 }; 213 };
214 214
215 } // namespace media_router 215 } // namespace media_router
216 216
217 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ 217 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/router/mock_media_router.h ('k') | chrome/browser/media/router/presentation_service_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698