OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_WEBRTC_IDENTITY_SERVICE_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_IDENTITY_SERVICE_H_ |
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_IDENTITY_SERVICE_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_IDENTITY_SERVICE_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "content/common/media/webrtc_identity_messages.h" | 14 #include "content/common/media/webrtc_identity_messages.h" |
15 #include "content/public/renderer/render_process_observer.h" | 15 #include "content/public/renderer/render_process_observer.h" |
16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 | 19 |
20 // This class handles WebRTC DTLS identity requests by sending IPC messages to | 20 // This class handles WebRTC DTLS identity requests by sending IPC messages to |
21 // the browser process. Only one request is sent to the browser at a time; other | 21 // the browser process. Only one request is sent to the browser at a time; other |
22 // requests are queued and have to wait for the outstanding request to complete. | 22 // requests are queued and have to wait for the outstanding request to complete. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 87 |
88 std::deque<RequestInfo> pending_requests_; | 88 std::deque<RequestInfo> pending_requests_; |
89 int next_request_id_; | 89 int next_request_id_; |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(WebRTCIdentityService); | 91 DISALLOW_COPY_AND_ASSIGN(WebRTCIdentityService); |
92 }; | 92 }; |
93 | 93 |
94 } // namespace content | 94 } // namespace content |
95 | 95 |
96 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_IDENTITY_SERVICE_H_ | 96 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_IDENTITY_SERVICE_H_ |
OLD | NEW |