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

Side by Side Diff: mojo/system/handle_signals_state.h

Issue 623883002: Revert "Move mojo edk into mojo/edk" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « mojo/system/entrypoints.cc ('k') | mojo/system/handle_table.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_EDK_SYSTEM_HANDLE_SIGNALS_STATE_H_ 5 #ifndef MOJO_SYSTEM_HANDLE_SIGNALS_STATE_H_
6 #define MOJO_EDK_SYSTEM_HANDLE_SIGNALS_STATE_H_ 6 #define MOJO_SYSTEM_HANDLE_SIGNALS_STATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/edk/system/system_impl_export.h"
10 #include "mojo/public/c/system/types.h" 9 #include "mojo/public/c/system/types.h"
10 #include "mojo/system/system_impl_export.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 namespace system { 13 namespace system {
14 14
15 // Just "add" some constructors and methods to the C struct 15 // Just "add" some constructors and methods to the C struct
16 // |MojoHandleSignalsState| (for convenience). This should add no overhead. 16 // |MojoHandleSignalsState| (for convenience). This should add no overhead.
17 struct MOJO_SYSTEM_IMPL_EXPORT HandleSignalsState 17 struct MOJO_SYSTEM_IMPL_EXPORT HandleSignalsState
18 : public MojoHandleSignalsState { 18 : public MojoHandleSignalsState {
19 HandleSignalsState() { 19 HandleSignalsState() {
20 satisfied_signals = MOJO_HANDLE_SIGNAL_NONE; 20 satisfied_signals = MOJO_HANDLE_SIGNAL_NONE;
(...skipping 19 matching lines...) Expand all
40 } 40 }
41 41
42 // (Copy and assignment allowed.) 42 // (Copy and assignment allowed.)
43 }; 43 };
44 static_assert(sizeof(HandleSignalsState) == sizeof(MojoHandleSignalsState), 44 static_assert(sizeof(HandleSignalsState) == sizeof(MojoHandleSignalsState),
45 "HandleSignalsState should add no overhead"); 45 "HandleSignalsState should add no overhead");
46 46
47 } // namespace system 47 } // namespace system
48 } // namespace mojo 48 } // namespace mojo
49 49
50 #endif // MOJO_EDK_SYSTEM_HANDLE_SIGNALS_STATE_H_ 50 #endif // MOJO_SYSTEM_HANDLE_SIGNALS_STATE_H_
OLDNEW
« no previous file with comments | « mojo/system/entrypoints.cc ('k') | mojo/system/handle_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698