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

Side by Side Diff: webrtc/rtc_base/rtccertificategenerator.cc

Issue 2963273002: Update includes for webrtc/{base => rtc_base} rename (3/3) (Closed)
Patch Set: git cl format Created 3 years, 5 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 /* 1 /*
2 * Copyright 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2016 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/base/rtccertificategenerator.h" 11 #include "webrtc/rtc_base/rtccertificategenerator.h"
12 12
13 #include <algorithm> 13 #include <algorithm>
14 #include <memory> 14 #include <memory>
15 15
16 #include "webrtc/base/checks.h" 16 #include "webrtc/rtc_base/checks.h"
17 #include "webrtc/base/sslidentity.h" 17 #include "webrtc/rtc_base/sslidentity.h"
18 18
19 namespace rtc { 19 namespace rtc {
20 20
21 namespace { 21 namespace {
22 22
23 // A certificates' subject and issuer name. 23 // A certificates' subject and issuer name.
24 const char kIdentityName[] = "WebRTC"; 24 const char kIdentityName[] = "WebRTC";
25 25
26 uint64_t kYearInSeconds = 365 * 24 * 60 * 60; 26 uint64_t kYearInSeconds = 365 * 24 * 60 * 60;
27 27
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 ScopedRefMessageData<RTCCertificateGenerationTask>* msg_data = 151 ScopedRefMessageData<RTCCertificateGenerationTask>* msg_data =
152 new ScopedRefMessageData<RTCCertificateGenerationTask>( 152 new ScopedRefMessageData<RTCCertificateGenerationTask>(
153 new RefCountedObject<RTCCertificateGenerationTask>( 153 new RefCountedObject<RTCCertificateGenerationTask>(
154 signaling_thread_, worker_thread_, key_params, expires_ms, 154 signaling_thread_, worker_thread_, key_params, expires_ms,
155 callback)); 155 callback));
156 worker_thread_->Post(RTC_FROM_HERE, msg_data->data().get(), MSG_GENERATE, 156 worker_thread_->Post(RTC_FROM_HERE, msg_data->data().get(), MSG_GENERATE,
157 msg_data); 157 msg_data);
158 } 158 }
159 159
160 } // namespace rtc 160 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/rtc_base/rtccertificategenerator.h ('k') | webrtc/rtc_base/rtccertificategenerator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698