1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/win/scoped_handle.h"
6 #include "base/win/windows_types.h"
7
8 #include <windows.h>
9
10 namespace base {
11 namespace win {
12
13 // Static.
CloseHandle(HANDLE handle)14 bool HandleTraits::CloseHandle(HANDLE handle) {
15 return ::CloseHandle(handle);
16 }
17
18 // Static.
StartTracking(HANDLE handle,const void * owner,const void * pc1,const void * pc2)19 void VerifierTraits::StartTracking(HANDLE handle,
20 const void* owner,
21 const void* pc1,
22 const void* pc2) {}
23
24 // Static.
StopTracking(HANDLE handle,const void * owner,const void * pc1,const void * pc2)25 void VerifierTraits::StopTracking(HANDLE handle,
26 const void* owner,
27 const void* pc1,
28 const void* pc2) {}
29
DisableHandleVerifier()30 void DisableHandleVerifier() {}
31
OnHandleBeingClosed(HANDLE handle)32 void OnHandleBeingClosed(HANDLE handle) {}
33
34 } // namespace win
35 } // namespace base
36