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

Side by Side Diff: base/file_descriptor_posix.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/event_types.h ('k') | base/file_descriptor_shuffle.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-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_FILE_DESCRIPTOR_POSIX_H_ 5 #ifndef BASE_FILE_DESCRIPTOR_POSIX_H_
6 #define BASE_FILE_DESCRIPTOR_POSIX_H_ 6 #define BASE_FILE_DESCRIPTOR_POSIX_H_
7 #pragma once
8 7
9 namespace base { 8 namespace base {
10 9
11 // ----------------------------------------------------------------------------- 10 // -----------------------------------------------------------------------------
12 // We introduct a special structure for file descriptors in order that we are 11 // We introduct a special structure for file descriptors in order that we are
13 // able to use template specialisation to special-case their handling. 12 // able to use template specialisation to special-case their handling.
14 // 13 //
15 // WARNING: (Chromium only) There are subtleties to consider if serialising 14 // WARNING: (Chromium only) There are subtleties to consider if serialising
16 // these objects over IPC. See comments in ipc/ipc_message_utils.h 15 // these objects over IPC. See comments in ipc/ipc_message_utils.h
17 // above the template specialisation for this structure. 16 // above the template specialisation for this structure.
(...skipping 19 matching lines...) Expand all
37 int fd; 36 int fd;
38 // If true, this file descriptor should be closed after it has been used. For 37 // If true, this file descriptor should be closed after it has been used. For
39 // example an IPC system might interpret this flag as indicating that the 38 // example an IPC system might interpret this flag as indicating that the
40 // file descriptor it has been given should be closed after use. 39 // file descriptor it has been given should be closed after use.
41 bool auto_close; 40 bool auto_close;
42 }; 41 };
43 42
44 } // namespace base 43 } // namespace base
45 44
46 #endif // BASE_FILE_DESCRIPTOR_POSIX_H_ 45 #endif // BASE_FILE_DESCRIPTOR_POSIX_H_
OLDNEW
« no previous file with comments | « base/event_types.h ('k') | base/file_descriptor_shuffle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698