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

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

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/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/edk/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/auto_reset.h" 9 #include "base/auto_reset.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/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/message_loop/message_loop.h" 17 #include "base/message_loop/message_loop.h"
18 #include "base/synchronization/lock.h" 18 #include "base/synchronization/lock.h"
19 #include "base/win/windows_version.h" 19 #include "base/win/windows_version.h"
20 #include "mojo/edk/embedder/platform_handle.h" 20 #include "mojo/embedder/platform_handle.h"
21 21
22 namespace mojo { 22 namespace mojo {
23 namespace system { 23 namespace system {
24 24
25 namespace { 25 namespace {
26 26
27 class VistaOrHigherFunctions { 27 class VistaOrHigherFunctions {
28 public: 28 public:
29 VistaOrHigherFunctions(); 29 VistaOrHigherFunctions();
30 30
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 576
577 // Static factory method declared in raw_channel.h. 577 // Static factory method declared in raw_channel.h.
578 // static 578 // static
579 scoped_ptr<RawChannel> RawChannel::Create( 579 scoped_ptr<RawChannel> RawChannel::Create(
580 embedder::ScopedPlatformHandle handle) { 580 embedder::ScopedPlatformHandle handle) {
581 return make_scoped_ptr(new RawChannelWin(handle.Pass())); 581 return make_scoped_ptr(new RawChannelWin(handle.Pass()));
582 } 582 }
583 583
584 } // namespace system 584 } // namespace system
585 } // namespace mojo 585 } // 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