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

Side by Side Diff: mojo/edk/system/raw_channel.h

Issue 621153003: Move mojo edk into mojo/edk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix checkdeps 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/edk/system/proxy_message_pipe_endpoint.cc ('k') | mojo/edk/system/raw_channel.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RAW_CHANNEL_H_ 5 #ifndef MOJO_EDK_SYSTEM_RAW_CHANNEL_H_
6 #define MOJO_SYSTEM_RAW_CHANNEL_H_ 6 #define MOJO_EDK_SYSTEM_RAW_CHANNEL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "mojo/embedder/platform_handle_vector.h" 15 #include "mojo/edk/embedder/platform_handle_vector.h"
16 #include "mojo/embedder/scoped_platform_handle.h" 16 #include "mojo/edk/embedder/scoped_platform_handle.h"
17 #include "mojo/system/constants.h" 17 #include "mojo/edk/system/constants.h"
18 #include "mojo/system/message_in_transit.h" 18 #include "mojo/edk/system/message_in_transit.h"
19 #include "mojo/system/system_impl_export.h" 19 #include "mojo/edk/system/system_impl_export.h"
20 20
21 namespace base { 21 namespace base {
22 class MessageLoopForIO; 22 class MessageLoopForIO;
23 } 23 }
24 24
25 namespace mojo { 25 namespace mojo {
26 namespace system { 26 namespace system {
27 27
28 // |RawChannel| is an interface and base class for objects that wrap an OS 28 // |RawChannel| is an interface and base class for objects that wrap an OS
29 // "pipe". It presents the following interface to users: 29 // "pipe". It presents the following interface to users:
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // must only be accessed under |write_lock_|. The weak pointers it produces 321 // must only be accessed under |write_lock_|. The weak pointers it produces
322 // are only used/invalidated on the I/O thread. 322 // are only used/invalidated on the I/O thread.
323 base::WeakPtrFactory<RawChannel> weak_ptr_factory_; 323 base::WeakPtrFactory<RawChannel> weak_ptr_factory_;
324 324
325 DISALLOW_COPY_AND_ASSIGN(RawChannel); 325 DISALLOW_COPY_AND_ASSIGN(RawChannel);
326 }; 326 };
327 327
328 } // namespace system 328 } // namespace system
329 } // namespace mojo 329 } // namespace mojo
330 330
331 #endif // MOJO_SYSTEM_RAW_CHANNEL_H_ 331 #endif // MOJO_EDK_SYSTEM_RAW_CHANNEL_H_
OLDNEW
« no previous file with comments | « mojo/edk/system/proxy_message_pipe_endpoint.cc ('k') | mojo/edk/system/raw_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698