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

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

Issue 1572433002: [Media Router] Add Connecting state to PresentationConnection to bring align with spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 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 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 17 matching lines...) Expand all
28 class WebContents; 28 class WebContents;
29 struct PresentationSessionInfo; 29 struct PresentationSessionInfo;
30 struct PresentationSessionMessage; 30 struct PresentationSessionMessage;
31 } // namespace content 31 } // namespace content
32 32
33 namespace media_router { 33 namespace media_router {
34 34
35 class MediaRoute; 35 class MediaRoute;
36 class MediaSinksObserver; 36 class MediaSinksObserver;
37 class PresentationFrameManager; 37 class PresentationFrameManager;
38 class PresentationSessionStateObserver;
39 38
40 // Implementation of PresentationServiceDelegate that interfaces an 39 // Implementation of PresentationServiceDelegate that interfaces an
41 // instance of WebContents with the Chrome Media Router. It uses the Media 40 // instance of WebContents with the Chrome Media Router. It uses the Media
42 // Router to handle presentation API calls forwarded from 41 // Router to handle presentation API calls forwarded from
43 // PresentationServiceImpl. In addition, it also 42 // PresentationServiceImpl. In addition, it also
44 // provides default presentation URL that is required for creating 43 // provides default presentation URL that is required for creating
45 // browser-initiated sessions. 44 // browser-initiated sessions.
46 // It is scoped to the lifetime of a WebContents, and is managed by the 45 // It is scoped to the lifetime of a WebContents, and is managed by the
47 // associated WebContents. 46 // associated WebContents.
48 class PresentationServiceDelegateImpl 47 class PresentationServiceDelegateImpl
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 scoped_ptr<PresentationFrameManager> frame_manager_; 207 scoped_ptr<PresentationFrameManager> frame_manager_;
209 208
210 base::WeakPtrFactory<PresentationServiceDelegateImpl> weak_factory_; 209 base::WeakPtrFactory<PresentationServiceDelegateImpl> weak_factory_;
211 210
212 DISALLOW_COPY_AND_ASSIGN(PresentationServiceDelegateImpl); 211 DISALLOW_COPY_AND_ASSIGN(PresentationServiceDelegateImpl);
213 }; 212 };
214 213
215 } // namespace media_router 214 } // namespace media_router
216 215
217 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ 216 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698