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

Side by Side Diff: mojo/edk/system/message_pipe_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/message_pipe_test_utils.h ('k') | mojo/edk/system/options_validation.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 "base/memory/ref_counted.h" 5 #include "base/memory/ref_counted.h"
6 #include "mojo/edk/system/test_utils.h" 6 #include "mojo/edk/system/test_utils.h"
7 #include "mojo/public/c/system/core.h" 7 #include "third_party/mojo/src/mojo/public/c/system/core.h"
8 #include "mojo/public/c/system/types.h" 8 #include "third_party/mojo/src/mojo/public/c/system/types.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 namespace edk { 11 namespace edk {
12 namespace { 12 namespace {
13 13
14 const MojoHandleSignals kAllSignals = MOJO_HANDLE_SIGNAL_READABLE | 14 const MojoHandleSignals kAllSignals = MOJO_HANDLE_SIGNAL_READABLE |
15 MOJO_HANDLE_SIGNAL_WRITABLE | 15 MOJO_HANDLE_SIGNAL_WRITABLE |
16 MOJO_HANDLE_SIGNAL_PEER_CLOSED; 16 MOJO_HANDLE_SIGNAL_PEER_CLOSED;
17 static const char kHelloWorld[] = "hello world"; 17 static const char kHelloWorld[] = "hello world";
18 18
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 ASSERT_EQ(MOJO_RESULT_FAILED_PRECONDITION, 400 ASSERT_EQ(MOJO_RESULT_FAILED_PRECONDITION,
401 MojoWait(pipe1_, MOJO_HANDLE_SIGNAL_READABLE, 401 MojoWait(pipe1_, MOJO_HANDLE_SIGNAL_READABLE,
402 MOJO_DEADLINE_INDEFINITE, &hss)); 402 MOJO_DEADLINE_INDEFINITE, &hss));
403 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfied_signals); 403 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfied_signals);
404 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); 404 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals);
405 } 405 }
406 406
407 } // namespace 407 } // namespace
408 } // namespace edk 408 } // namespace edk
409 } // namespace mojo 409 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/message_pipe_test_utils.h ('k') | mojo/edk/system/options_validation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698