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

Side by Side Diff: webrtc/system_wrappers/source/event_timer_posix.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc 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 (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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/system_wrappers/source/event_timer_posix.h" 11 #include "webrtc/system_wrappers/source/event_timer_posix.h"
12 12
13 #include <errno.h> 13 #include <errno.h>
14 #include <pthread.h> 14 #include <pthread.h>
15 #include <signal.h> 15 #include <signal.h>
16 #include <stdio.h> 16 #include <stdio.h>
17 #include <string.h> 17 #include <string.h>
18 #include <sys/time.h> 18 #include <sys/time.h>
19 #include <unistd.h> 19 #include <unistd.h>
20 20
21 #include "webrtc/base/checks.h" 21 #include "webrtc/rtc_base/checks.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 24
25 // static 25 // static
26 EventTimerWrapper* EventTimerWrapper::Create() { 26 EventTimerWrapper* EventTimerWrapper::Create() {
27 return new EventTimerPosix(); 27 return new EventTimerPosix();
28 } 28 }
29 29
30 const int64_t kNanosecondsPerMillisecond = 1000000; 30 const int64_t kNanosecondsPerMillisecond = 1000000;
31 const int64_t kNanosecondsPerSecond = 1000000000; 31 const int64_t kNanosecondsPerSecond = 1000000000;
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 } 252 }
253 timer_event_.reset(); 253 timer_event_.reset();
254 254
255 // Set time to zero to force new reference time for the timer. 255 // Set time to zero to force new reference time for the timer.
256 memset(&created_at_, 0, sizeof(created_at_)); 256 memset(&created_at_, 0, sizeof(created_at_));
257 count_ = 0; 257 count_ = 0;
258 return true; 258 return true;
259 } 259 }
260 260
261 } // namespace webrtc 261 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/system_wrappers/source/event_timer_posix.h ('k') | webrtc/system_wrappers/source/event_timer_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698