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

Unified Diff: webrtc/system_wrappers/source/critical_section_win.cc

Issue 1601743004: Make CriticalSectionWrapper non-virtual (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Improve comment Created 4 years, 11 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/source/critical_section_win.cc
diff --git a/webrtc/system_wrappers/source/critical_section_win.cc b/webrtc/system_wrappers/source/critical_section_win.cc
deleted file mode 100644
index b5149d1eb6046a7c274c422dcfce8a65a2043039..0000000000000000000000000000000000000000
--- a/webrtc/system_wrappers/source/critical_section_win.cc
+++ /dev/null
@@ -1,33 +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.
- */
-
-#include "webrtc/system_wrappers/source/critical_section_win.h"
-
-namespace webrtc {
-
-CriticalSectionWindows::CriticalSectionWindows() {
- InitializeCriticalSection(&crit);
-}
-
-CriticalSectionWindows::~CriticalSectionWindows() {
- DeleteCriticalSection(&crit);
-}
-
-void
-CriticalSectionWindows::Enter() {
- EnterCriticalSection(&crit);
-}
-
-void
-CriticalSectionWindows::Leave() {
- LeaveCriticalSection(&crit);
-}
-
-} // namespace webrtc
« no previous file with comments | « webrtc/system_wrappers/source/critical_section_win.h ('k') | webrtc/system_wrappers/source/rw_lock_winxp_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698