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

Side by Side Diff: base/sync_socket.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/stringize_macros.h ('k') | base/synchronization/cancellation_flag.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_SYNC_SOCKET_H_ 5 #ifndef BASE_SYNC_SOCKET_H_
6 #define BASE_SYNC_SOCKET_H_ 6 #define BASE_SYNC_SOCKET_H_
7 #pragma once
8 7
9 // A socket abstraction used for sending and receiving plain 8 // A socket abstraction used for sending and receiving plain
10 // data. Because the receiving is blocking, they can be used to perform 9 // data. Because the receiving is blocking, they can be used to perform
11 // rudimentary cross-process synchronization with low latency. 10 // rudimentary cross-process synchronization with low latency.
12 11
13 #include "base/basictypes.h" 12 #include "base/basictypes.h"
14 #if defined(OS_WIN) 13 #if defined(OS_WIN)
15 #include <windows.h> 14 #include <windows.h>
16 #endif 15 #endif
17 #include <sys/types.h> 16 #include <sys/types.h>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 #if defined(OS_WIN) 115 #if defined(OS_WIN)
117 WaitableEvent shutdown_event_; 116 WaitableEvent shutdown_event_;
118 WaitableEvent file_operation_; 117 WaitableEvent file_operation_;
119 #endif 118 #endif
120 DISALLOW_COPY_AND_ASSIGN(CancelableSyncSocket); 119 DISALLOW_COPY_AND_ASSIGN(CancelableSyncSocket);
121 }; 120 };
122 121
123 } // namespace base 122 } // namespace base
124 123
125 #endif // BASE_SYNC_SOCKET_H_ 124 #endif // BASE_SYNC_SOCKET_H_
OLDNEW
« no previous file with comments | « base/stringize_macros.h ('k') | base/synchronization/cancellation_flag.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698