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

Side by Side Diff: content/renderer/media/peer_connection_identity_store.cc

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 #include "content/renderer/media/peer_connection_identity_store.h" 5 #include "content/renderer/media/peer_connection_identity_store.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "content/renderer/media/webrtc_identity_service.h" 12 #include "content/renderer/media/webrtc_identity_service.h"
13 #include "content/renderer/render_thread_impl.h" 13 #include "content/renderer/render_thread_impl.h"
14 14
15 namespace content { 15 namespace content {
16 namespace { 16 namespace {
17 17
18 const char kIdentityName[] = "WebRTC"; 18 const char kIdentityName[] = "WebRTC";
19 static unsigned int kRSAChromiumKeyLength = 1024; 19 static unsigned int kRSAChromiumKeyLength = 1024;
20 static unsigned int kRSAChromiumPubExp = 0x10001; 20 static unsigned int kRSAChromiumPubExp = 0x10001;
21 static uint64_t kYearInSeconds = 365 * 24 * 60 * 60; 21 static uint64_t kYearInSeconds = 365 * 24 * 60 * 60;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 } else { 169 } else {
170 // Async call to |observer|->OnFailure. 170 // Async call to |observer|->OnFailure.
171 signaling_thread_->PostTask(FROM_HERE, 171 signaling_thread_->PostTask(FROM_HERE,
172 base::Bind(&webrtc::DtlsIdentityRequestObserver::OnFailure, 172 base::Bind(&webrtc::DtlsIdentityRequestObserver::OnFailure,
173 observer, 0)); 173 observer, 0));
174 } 174 }
175 } 175 }
176 } 176 }
177 177
178 } // namespace content 178 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_video_track.cc ('k') | content/renderer/media/peer_connection_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698