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

Side by Side Diff: mojo/edk/embedder/embedder_unittest.cc

Issue 1483823004: EDK: Move {platform_handle,scoped_platform_handle}.* to //mojo/edk/platform. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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/embedder/embedder.cc ('k') | mojo/edk/embedder/platform_channel_pair.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/embedder/embedder.h" 5 #include "mojo/edk/embedder/embedder.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
(...skipping 11 matching lines...) Expand all
22 #include "mojo/edk/util/mutex.h" 22 #include "mojo/edk/util/mutex.h"
23 #include "mojo/edk/util/ref_ptr.h" 23 #include "mojo/edk/util/ref_ptr.h"
24 #include "mojo/edk/util/thread_annotations.h" 24 #include "mojo/edk/util/thread_annotations.h"
25 #include "mojo/edk/util/waitable_event.h" 25 #include "mojo/edk/util/waitable_event.h"
26 #include "mojo/public/c/system/core.h" 26 #include "mojo/public/c/system/core.h"
27 #include "mojo/public/cpp/system/handle.h" 27 #include "mojo/public/cpp/system/handle.h"
28 #include "mojo/public/cpp/system/macros.h" 28 #include "mojo/public/cpp/system/macros.h"
29 #include "mojo/public/cpp/system/message_pipe.h" 29 #include "mojo/public/cpp/system/message_pipe.h"
30 #include "testing/gtest/include/gtest/gtest.h" 30 #include "testing/gtest/include/gtest/gtest.h"
31 31
32 using mojo::platform::ScopedPlatformHandle;
32 using mojo::platform::TaskRunner; 33 using mojo::platform::TaskRunner;
33 using mojo::system::test::TestIOThread; 34 using mojo::system::test::TestIOThread;
34 using mojo::util::ManualResetWaitableEvent; 35 using mojo::util::ManualResetWaitableEvent;
35 using mojo::util::Mutex; 36 using mojo::util::Mutex;
36 using mojo::util::MutexLocker; 37 using mojo::util::MutexLocker;
37 using mojo::util::RefPtr; 38 using mojo::util::RefPtr;
38 39
39 namespace mojo { 40 namespace mojo {
40 namespace embedder { 41 namespace embedder {
41 namespace { 42 namespace {
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 787
787 EXPECT_TRUE(test::Shutdown()); 788 EXPECT_TRUE(test::Shutdown());
788 } 789 }
789 790
790 // TODO(vtl): Test immediate write & close. 791 // TODO(vtl): Test immediate write & close.
791 // TODO(vtl): Test broken-connection cases. 792 // TODO(vtl): Test broken-connection cases.
792 793
793 } // namespace 794 } // namespace
794 } // namespace embedder 795 } // namespace embedder
795 } // namespace mojo 796 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/embedder/embedder.cc ('k') | mojo/edk/embedder/platform_channel_pair.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698