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

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

Issue 1435063002: Eliminate third_party/mojo/src from all targets' include paths (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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/raw_channel_unittest.cc ('k') | mojo/edk/system/shared_buffer_dispatcher.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 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/edk/system/raw_channel.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
15 #include "base/process/process.h" 15 #include "base/process/process.h"
16 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
17 #include "base/win/scoped_handle.h" 17 #include "base/win/scoped_handle.h"
18 #include "base/win/windows_version.h" 18 #include "base/win/windows_version.h"
19 #include "mojo/edk/embedder/embedder_internal.h" 19 #include "mojo/edk/embedder/embedder_internal.h"
20 #include "mojo/edk/embedder/platform_handle.h" 20 #include "mojo/edk/embedder/platform_handle.h"
21 #include "mojo/edk/system/transport_data.h" 21 #include "mojo/edk/system/transport_data.h"
22 #include "mojo/public/cpp/system/macros.h" 22 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h"
23 23
24 #define STATUS_CANCELLED 0xC0000120 24 #define STATUS_CANCELLED 0xC0000120
25 #define STATUS_PIPE_BROKEN 0xC000014B 25 #define STATUS_PIPE_BROKEN 0xC000014B
26 26
27 namespace mojo { 27 namespace mojo {
28 namespace edk { 28 namespace edk {
29 29
30 namespace { 30 namespace {
31 31
32 struct MOJO_ALIGNAS(8) SerializedHandle { 32 struct MOJO_ALIGNAS(8) SerializedHandle {
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 return filepath1 == filepath2; 778 return filepath1 == filepath2;
779 } else { 779 } else {
780 // TODO: XP: see http://stackoverflow.com/questions/65170/how-to-get-name-as sociated-with-open-handle/5286888#5286888 780 // TODO: XP: see http://stackoverflow.com/questions/65170/how-to-get-name-as sociated-with-open-handle/5286888#5286888
781 CHECK(false) << "TODO(jam): handle XP"; 781 CHECK(false) << "TODO(jam): handle XP";
782 return false; 782 return false;
783 } 783 }
784 } 784 }
785 785
786 } // namespace edk 786 } // namespace edk
787 } // namespace mojo 787 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/raw_channel_unittest.cc ('k') | mojo/edk/system/shared_buffer_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698