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

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

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « base/memory/scoped_generic_obj.h ('k') | base/memory/scoped_nsobject.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_MEMORY_SCOPED_HANDLE_H_ 5 #ifndef BASE_MEMORY_SCOPED_HANDLE_H_
6 #define BASE_MEMORY_SCOPED_HANDLE_H_ 6 #define BASE_MEMORY_SCOPED_HANDLE_H_
7 #pragma once
8 7
9 #include <stdio.h> 8 #include <stdio.h>
10 9
11 #include "base/basictypes.h" 10 #include "base/basictypes.h"
12 11
13 class ScopedStdioHandle { 12 class ScopedStdioHandle {
14 public: 13 public:
15 ScopedStdioHandle() 14 ScopedStdioHandle()
16 : handle_(NULL) { } 15 : handle_(NULL) { }
17 16
(...skipping 24 matching lines...) Expand all
42 handle_ = newhandle; 41 handle_ = newhandle;
43 } 42 }
44 43
45 private: 44 private:
46 FILE* handle_; 45 FILE* handle_;
47 46
48 DISALLOW_COPY_AND_ASSIGN(ScopedStdioHandle); 47 DISALLOW_COPY_AND_ASSIGN(ScopedStdioHandle);
49 }; 48 };
50 49
51 #endif // BASE_MEMORY_SCOPED_HANDLE_H_ 50 #endif // BASE_MEMORY_SCOPED_HANDLE_H_
OLDNEW
« no previous file with comments | « base/memory/scoped_generic_obj.h ('k') | base/memory/scoped_nsobject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698