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

Side by Side Diff: webrtc/system_wrappers/include/tick_util.h

Issue 1425693005: system_wrappers: Fix include header guards. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 1 month 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 // System independant wrapper for polling elapsed time in ms and us. 11 // System independant wrapper for polling elapsed time in ms and us.
12 // The implementation works in the tick domain which can be mapped over to the 12 // The implementation works in the tick domain which can be mapped over to the
13 // time domain. 13 // time domain.
14 #ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_TICK_UTIL_H_ 14 #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_TICK_UTIL_H_
15 #define WEBRTC_SYSTEM_WRAPPERS_INTERFACE_TICK_UTIL_H_ 15 #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_TICK_UTIL_H_
16 16
17 #if _WIN32 17 #if _WIN32
18 // Note: The Windows header must always be included before mmsystem.h 18 // Note: The Windows header must always be included before mmsystem.h
19 #include <windows.h> 19 #include <windows.h>
20 #include <mmsystem.h> 20 #include <mmsystem.h>
21 #elif WEBRTC_LINUX 21 #elif WEBRTC_LINUX
22 #include <time.h> 22 #include <time.h>
23 #elif WEBRTC_MAC 23 #elif WEBRTC_MAC
24 #include <mach/mach_time.h> 24 #include <mach/mach_time.h>
25 #include <string.h> 25 #include <string.h>
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 return *this; 287 return *this;
288 } 288 }
289 289
290 inline TickInterval& TickInterval::operator-=(const TickInterval& rhs) { 290 inline TickInterval& TickInterval::operator-=(const TickInterval& rhs) {
291 interval_ -= rhs.interval_; 291 interval_ -= rhs.interval_;
292 return *this; 292 return *this;
293 } 293 }
294 294
295 } // namespace webrtc 295 } // namespace webrtc
296 296
297 #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_TICK_UTIL_H_ 297 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_TICK_UTIL_H_
OLDNEW
« no previous file with comments | « webrtc/system_wrappers/include/thread_wrapper.h ('k') | webrtc/system_wrappers/include/timestamp_extrapolator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698