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

Side by Side Diff: base/scoped_handle.h

Issue 11236: Fix the include guards for scoped_handle (Closed)
Patch Set: Created 12 years, 1 month 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
« no previous file with comments | « no previous file | base/scoped_handle_win.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_SCOPED_HANDLE_FIXME_H__ 5 #ifndef BASE_SCOPED_HANDLE_H__
6 #define BASE_SCOPED_HANDLE_FIXME_H__ 6 #define BASE_SCOPED_HANDLE_H__
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
11 #include "base/scoped_handle_win.h" 11 #include "base/scoped_handle_win.h"
12 #endif 12 #endif
13 13
14 class ScopedStdioHandle { 14 class ScopedStdioHandle {
15 public: 15 public:
16 ScopedStdioHandle() 16 ScopedStdioHandle()
(...skipping 25 matching lines...) Expand all
42 Close(); 42 Close();
43 handle_ = newhandle; 43 handle_ = newhandle;
44 } 44 }
45 45
46 private: 46 private:
47 FILE* handle_; 47 FILE* handle_;
48 48
49 DISALLOW_EVIL_CONSTRUCTORS(ScopedStdioHandle); 49 DISALLOW_EVIL_CONSTRUCTORS(ScopedStdioHandle);
50 }; 50 };
51 51
52 #endif // BASE_SCOPED_HANDLE_FIXME_H__ 52 #endif // BASE_SCOPED_HANDLE_H__
OLDNEW
« no previous file with comments | « no previous file | base/scoped_handle_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698