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

Unified Diff: webrtc/system_wrappers/interface/condition_variable_wrapper.h

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/system_wrappers/interface/condition_variable_wrapper.h
diff --git a/webrtc/system_wrappers/interface/condition_variable_wrapper.h b/webrtc/system_wrappers/interface/condition_variable_wrapper.h
deleted file mode 100644
index 151f00ece1855634436fed65611bc99ddb3e9927..0000000000000000000000000000000000000000
--- a/webrtc/system_wrappers/interface/condition_variable_wrapper.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_CONDITION_VARIABLE_WRAPPER_H_
-#define WEBRTC_SYSTEM_WRAPPERS_INTERFACE_CONDITION_VARIABLE_WRAPPER_H_
-
-namespace webrtc {
-
-class CriticalSectionWrapper;
-
-class ConditionVariableWrapper {
- public:
- // Factory method, constructor disabled.
- static ConditionVariableWrapper* CreateConditionVariable();
-
- virtual ~ConditionVariableWrapper() {}
-
- // Calling thread will atomically release crit_sect and wait until next
- // some other thread calls Wake() or WakeAll().
- virtual void SleepCS(CriticalSectionWrapper& crit_sect) = 0;
-
- // Same as above but with a timeout.
- virtual bool SleepCS(CriticalSectionWrapper& crit_sect,
- unsigned long max_time_in_ms) = 0;
-
- // Wakes one thread calling SleepCS().
- virtual void Wake() = 0;
-
- // Wakes all threads calling SleepCS().
- virtual void WakeAll() = 0;
-};
-
-} // namespace webrtc
-
-#endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_CONDITION_VARIABLE_WRAPPER_H_
« no previous file with comments | « webrtc/system_wrappers/interface/compile_assert_c.h ('k') | webrtc/system_wrappers/interface/cpu_features_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698