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

Side by Side Diff: mojo/edk/system/core_unittest.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/core_test_base.cc ('k') | mojo/edk/system/data_pipe.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/core.h" 5 #include "mojo/edk/system/core.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <limits> 9 #include <limits>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "mojo/edk/embedder/embedder_internal.h" 12 #include "mojo/edk/embedder/embedder_internal.h"
13 #include "mojo/edk/system/awakable.h" 13 #include "mojo/edk/system/awakable.h"
14 #include "mojo/edk/system/core_test_base.h" 14 #include "mojo/edk/system/core_test_base.h"
15 #include "mojo/edk/system/test_utils.h" 15 #include "mojo/edk/system/test_utils.h"
16 #include "mojo/public/cpp/system/macros.h" 16 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h"
17 17
18 namespace mojo { 18 namespace mojo {
19 namespace edk { 19 namespace edk {
20 namespace { 20 namespace {
21 21
22 const MojoHandleSignalsState kEmptyMojoHandleSignalsState = {0u, 0u}; 22 const MojoHandleSignalsState kEmptyMojoHandleSignalsState = {0u, 0u};
23 const MojoHandleSignalsState kFullMojoHandleSignalsState = {~0u, ~0u}; 23 const MojoHandleSignalsState kFullMojoHandleSignalsState = {~0u, ~0u};
24 const MojoHandleSignals kAllSignals = MOJO_HANDLE_SIGNAL_READABLE | 24 const MojoHandleSignals kAllSignals = MOJO_HANDLE_SIGNAL_READABLE |
25 MOJO_HANDLE_SIGNAL_WRITABLE | 25 MOJO_HANDLE_SIGNAL_WRITABLE |
26 MOJO_HANDLE_SIGNAL_PEER_CLOSED; 26 MOJO_HANDLE_SIGNAL_PEER_CLOSED;
(...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 ASSERT_EQ(MOJO_RESULT_BUSY, waiter.result); 1256 ASSERT_EQ(MOJO_RESULT_BUSY, waiter.result);
1257 1257
1258 ASSERT_EQ(MOJO_RESULT_OK, core()->Close(h)); 1258 ASSERT_EQ(MOJO_RESULT_OK, core()->Close(h));
1259 } 1259 }
1260 1260
1261 // TODO(vtl): Test |DuplicateBufferHandle()| and |MapBuffer()|. 1261 // TODO(vtl): Test |DuplicateBufferHandle()| and |MapBuffer()|.
1262 1262
1263 } // namespace 1263 } // namespace
1264 } // namespace edk 1264 } // namespace edk
1265 } // namespace mojo 1265 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/core_test_base.cc ('k') | mojo/edk/system/data_pipe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698