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

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

Issue 307533002: Mojo: Move common type/constant definitions from mojo/public/c/system/core.h to .../types.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « mojo/system/core_test_base.h ('k') | mojo/system/mapping_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_SYSTEM_HANDLE_TABLE_H_ 5 #ifndef MOJO_SYSTEM_HANDLE_TABLE_H_
6 #define MOJO_SYSTEM_HANDLE_TABLE_H_ 6 #define MOJO_SYSTEM_HANDLE_TABLE_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/containers/hash_tables.h" 11 #include "base/containers/hash_tables.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "mojo/public/c/system/core.h" 14 #include "mojo/public/c/system/types.h"
15 #include "mojo/system/system_impl_export.h" 15 #include "mojo/system/system_impl_export.h"
16 16
17 namespace mojo { 17 namespace mojo {
18 namespace system { 18 namespace system {
19 19
20 class Core; 20 class Core;
21 class Dispatcher; 21 class Dispatcher;
22 class DispatcherTransport; 22 class DispatcherTransport;
23 23
24 typedef std::vector<scoped_refptr<Dispatcher> > DispatcherVector; 24 typedef std::vector<scoped_refptr<Dispatcher> > DispatcherVector;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 HandleToEntryMap handle_to_entry_map_; 135 HandleToEntryMap handle_to_entry_map_;
136 MojoHandle next_handle_; // Invariant: never |MOJO_HANDLE_INVALID|. 136 MojoHandle next_handle_; // Invariant: never |MOJO_HANDLE_INVALID|.
137 137
138 DISALLOW_COPY_AND_ASSIGN(HandleTable); 138 DISALLOW_COPY_AND_ASSIGN(HandleTable);
139 }; 139 };
140 140
141 } // namespace system 141 } // namespace system
142 } // namespace mojo 142 } // namespace mojo
143 143
144 #endif // MOJO_SYSTEM_HANDLE_TABLE_H_ 144 #endif // MOJO_SYSTEM_HANDLE_TABLE_H_
OLDNEW
« no previous file with comments | « mojo/system/core_test_base.h ('k') | mojo/system/mapping_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698