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

Side by Side Diff: base/win/scoped_handle.h

Issue 10441124: Enable the handle verifier. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | printing/backend/win_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_WIN_SCOPED_HANDLE_H_ 5 #ifndef BASE_WIN_SCOPED_HANDLE_H_
6 #define BASE_WIN_SCOPED_HANDLE_H_ 6 #define BASE_WIN_SCOPED_HANDLE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 10
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 public: 138 public:
139 typedef HANDLE Handle; 139 typedef HANDLE Handle;
140 140
141 static void StartTracking(HANDLE handle, const void* owner, const void* pc); 141 static void StartTracking(HANDLE handle, const void* owner, const void* pc);
142 static void StopTracking(HANDLE handle, const void* owner, const void* pc); 142 static void StopTracking(HANDLE handle, const void* owner, const void* pc);
143 143
144 private: 144 private:
145 DISALLOW_IMPLICIT_CONSTRUCTORS(VerifierTraits); 145 DISALLOW_IMPLICIT_CONSTRUCTORS(VerifierTraits);
146 }; 146 };
147 147
148 typedef GenericScopedHandle<HandleTraits, DummyVerifierTraits> ScopedHandle; 148 typedef GenericScopedHandle<HandleTraits, VerifierTraits> ScopedHandle;
149 149
150 } // namespace win 150 } // namespace win
151 } // namespace base 151 } // namespace base
152 152
153 #endif // BASE_SCOPED_HANDLE_WIN_H_ 153 #endif // BASE_SCOPED_HANDLE_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | printing/backend/win_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698