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

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

Issue 2477573002: [Presentation API] (3rd) (1-UA) Split PresentationServiceDelegateImpl(PSDImpl) (Closed)
Patch Set: rebase Created 4 years, 1 month 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
mark a. foltz 2016/11/15 23:41:46 Update copyright in this and other files
zhaobin 2016/11/16 18:02:41 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_BASE_IMPL_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_BASE_IMPL_H_
7
8 #include <map>
9
10 #include "chrome/browser/media/router/render_frame_host_id.h"
11 #include "content/public/browser/presentation_service_delegate.h"
12
13 namespace media_router {
14
15 class PresentationServiceDelegateBaseImpl
16 : public content::PresentationServiceDelegateBase {
17 public:
18 PresentationServiceDelegateBaseImpl();
19 virtual ~PresentationServiceDelegateBaseImpl();
20
21 // content::PresentationServiceDelegateBase implementation.
22 void AddObserver(
23 int render_process_id,
24 int render_frame_id,
25 content::PresentationServiceDelegateBase::Observer* observer) override;
26 void RemoveObserver(int render_process_id, int render_frame_id) override;
27
28 private:
29 std::map<RenderFrameHostId,
30 content::PresentationServiceDelegateBase::Observer*>
31 observers_;
32 };
33
34 } // namespace media_router
35
36 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_BASE_IMPL_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698