OLD | NEW |
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_RENDERER_MEDIA_PEER_CONNECTION_IDENTITY_STORE_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_PEER_CONNECTION_IDENTITY_STORE_H_ |
6 #define CONTENT_RENDERER_MEDIA_PEER_CONNECTION_IDENTITY_STORE_H_ | 6 #define CONTENT_RENDERER_MEDIA_PEER_CONNECTION_IDENTITY_STORE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
10 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
11 #include "third_party/libjingle/source/talk/app/webrtc/dtlsidentitystore.h" | 11 #include "third_party/webrtc/api/dtlsidentitystore.h" |
12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 // This class is associated with a peer connection and handles WebRTC DTLS | 16 // This class is associated with a peer connection and handles WebRTC DTLS |
17 // identity requests by delegating to the per-renderer WebRTCIdentityProxy. | 17 // identity requests by delegating to the per-renderer WebRTCIdentityProxy. |
18 class PeerConnectionIdentityStore | 18 class PeerConnectionIdentityStore |
19 : public webrtc::DtlsIdentityStoreInterface { | 19 : public webrtc::DtlsIdentityStoreInterface { |
20 public: | 20 public: |
21 PeerConnectionIdentityStore( | 21 PeerConnectionIdentityStore( |
(...skipping 14 matching lines...) Expand all Loading... |
36 const scoped_refptr<base::SingleThreadTaskRunner> signaling_thread_; | 36 const scoped_refptr<base::SingleThreadTaskRunner> signaling_thread_; |
37 const GURL url_; | 37 const GURL url_; |
38 const GURL first_party_for_cookies_; | 38 const GURL first_party_for_cookies_; |
39 | 39 |
40 DISALLOW_COPY_AND_ASSIGN(PeerConnectionIdentityStore); | 40 DISALLOW_COPY_AND_ASSIGN(PeerConnectionIdentityStore); |
41 }; | 41 }; |
42 | 42 |
43 } // namespace content | 43 } // namespace content |
44 | 44 |
45 #endif // CONTENT_RENDERER_MEDIA_PEER_CONNECTION_IDENTITY_STORE_H_ | 45 #endif // CONTENT_RENDERER_MEDIA_PEER_CONNECTION_IDENTITY_STORE_H_ |
OLD | NEW |