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

Side by Side Diff: mojo/system/raw_channel_win.cc

Issue 203373004: Mojo: Move mojo/system/embedder to mojo/embedder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 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/raw_channel_unittest.cc ('k') | mojo/system/remote_message_pipe_unittest.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 #include "mojo/system/raw_channel.h" 5 #include "mojo/system/raw_channel.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/message_loop/message_loop.h" 16 #include "base/message_loop/message_loop.h"
17 #include "base/synchronization/lock.h" 17 #include "base/synchronization/lock.h"
18 #include "base/win/windows_version.h" 18 #include "base/win/windows_version.h"
19 #include "mojo/system/embedder/platform_handle.h" 19 #include "mojo/embedder/platform_handle.h"
20 20
21 namespace mojo { 21 namespace mojo {
22 namespace system { 22 namespace system {
23 23
24 namespace { 24 namespace {
25 25
26 class VistaOrHigherFunctions { 26 class VistaOrHigherFunctions {
27 public: 27 public:
28 VistaOrHigherFunctions(); 28 VistaOrHigherFunctions();
29 29
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 // Static factory method declared in raw_channel.h. 522 // Static factory method declared in raw_channel.h.
523 // static 523 // static
524 RawChannel* RawChannel::Create(embedder::ScopedPlatformHandle handle, 524 RawChannel* RawChannel::Create(embedder::ScopedPlatformHandle handle,
525 Delegate* delegate, 525 Delegate* delegate,
526 base::MessageLoopForIO* message_loop) { 526 base::MessageLoopForIO* message_loop) {
527 return new RawChannelWin(handle.Pass(), delegate, message_loop); 527 return new RawChannelWin(handle.Pass(), delegate, message_loop);
528 } 528 }
529 529
530 } // namespace system 530 } // namespace system
531 } // namespace mojo 531 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/system/raw_channel_unittest.cc ('k') | mojo/system/remote_message_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698