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

Side by Side Diff: webrtc/system_wrappers/include/thread_wrapper.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) 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 // System independant wrapper for spawning threads 11 // System independant wrapper for spawning threads
12 // Note: the spawned thread will loop over the callback function until stopped. 12 // Note: the spawned thread will loop over the callback function until stopped.
13 // Note: The callback function is expected to return every 2 seconds or more 13 // Note: The callback function is expected to return every 2 seconds or more
14 // often. 14 // often.
15 15
16 #ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_THREAD_WRAPPER_H_ 16 #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_THREAD_WRAPPER_H_
17 #define WEBRTC_SYSTEM_WRAPPERS_INTERFACE_THREAD_WRAPPER_H_ 17 #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_THREAD_WRAPPER_H_
18 18
19 #if defined(WEBRTC_WIN) 19 #if defined(WEBRTC_WIN)
20 #include <windows.h> 20 #include <windows.h>
21 #endif 21 #endif
22 22
23 #include "webrtc/base/scoped_ptr.h" 23 #include "webrtc/base/scoped_ptr.h"
24 #include "webrtc/common_types.h" 24 #include "webrtc/common_types.h"
25 #include "webrtc/typedefs.h" 25 #include "webrtc/typedefs.h"
26 26
27 namespace webrtc { 27 namespace webrtc {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // It's ok to call Stop() even if the spawned thread has been reclaimed. 85 // It's ok to call Stop() even if the spawned thread has been reclaimed.
86 virtual bool Stop() = 0; 86 virtual bool Stop() = 0;
87 87
88 // Set the priority of the worker thread. Must be called when thread 88 // Set the priority of the worker thread. Must be called when thread
89 // is running. 89 // is running.
90 virtual bool SetPriority(ThreadPriority priority) = 0; 90 virtual bool SetPriority(ThreadPriority priority) = 0;
91 }; 91 };
92 92
93 } // namespace webrtc 93 } // namespace webrtc
94 94
95 #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_THREAD_WRAPPER_H_ 95 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_THREAD_WRAPPER_H_
OLDNEW
« no previous file with comments | « webrtc/system_wrappers/include/stringize_macros.h ('k') | webrtc/system_wrappers/include/tick_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698