Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/shared/AutoHandle.h

Issue 10774005: Avoid duplication between AdblockPlus and AdblockPlusEngine (Closed)
Patch Set: Created May 24, 2013, 3:48 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #ifndef AUTO_HANDLE_H
2 #define AUTO_HANDLE_H
3
4 #include <Windows.h>
5
6 class AutoHandle
7 {
8 public:
9 AutoHandle();
10 explicit AutoHandle(HANDLE handle);
11 ~AutoHandle();
12 HANDLE get();
13
14 private:
15 HANDLE handle;
16
17 AutoHandle(const AutoHandle& autoHandle);
18 AutoHandle& operator=(const AutoHandle& autoHandle);
19 };
20
21 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld