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

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

Issue 670743002: Mojo: Fixes to current virtual/override style in 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 | « no previous file | mojo/edk/embedder/platform_channel_pair_posix_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 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 "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 // Valid after channel creation completion until destruction. 96 // Valid after channel creation completion until destruction.
97 ChannelInfo* channel_info_; 97 ChannelInfo* channel_info_;
98 98
99 DISALLOW_COPY_AND_ASSIGN(ScopedTestChannel); 99 DISALLOW_COPY_AND_ASSIGN(ScopedTestChannel);
100 }; 100 };
101 101
102 class EmbedderTest : public testing::Test { 102 class EmbedderTest : public testing::Test {
103 public: 103 public:
104 EmbedderTest() : test_io_thread_(base::TestIOThread::kAutoStart) {} 104 EmbedderTest() : test_io_thread_(base::TestIOThread::kAutoStart) {}
105 virtual ~EmbedderTest() {} 105 ~EmbedderTest() override {}
106 106
107 protected: 107 protected:
108 base::TestIOThread* test_io_thread() { return &test_io_thread_; } 108 base::TestIOThread* test_io_thread() { return &test_io_thread_; }
109 109
110 private: 110 private:
111 base::TestIOThread test_io_thread_; 111 base::TestIOThread test_io_thread_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(EmbedderTest); 113 DISALLOW_COPY_AND_ASSIGN(EmbedderTest);
114 }; 114 };
115 115
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 593
594 EXPECT_TRUE(test::Shutdown()); 594 EXPECT_TRUE(test::Shutdown());
595 } 595 }
596 596
597 // TODO(vtl): Test immediate write & close. 597 // TODO(vtl): Test immediate write & close.
598 // TODO(vtl): Test broken-connection cases. 598 // TODO(vtl): Test broken-connection cases.
599 599
600 } // namespace 600 } // namespace
601 } // namespace embedder 601 } // namespace embedder
602 } // namespace mojo 602 } // namespace mojo
OLDNEW
« no previous file with comments | « no previous file | mojo/edk/embedder/platform_channel_pair_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698