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

Unified Diff: mojo/shell/external_application_listener_unittest.cc

Issue 619493002: Mojo: Convert OVERRIDE -> override in various subdirectories of mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: mojo/shell/external_application_listener_unittest.cc
diff --git a/mojo/shell/external_application_listener_unittest.cc b/mojo/shell/external_application_listener_unittest.cc
index 8c390434aa6c0afd2480176ea23e869d25cf170b..5676b68c3b052787971a1f2948286e1bc5a45bd8 100644
--- a/mojo/shell/external_application_listener_unittest.cc
+++ b/mojo/shell/external_application_listener_unittest.cc
@@ -30,7 +30,7 @@ class ExternalApplicationListenerTest : public testing::Test {
ExternalApplicationListenerTest() : io_thread_("io thread") {}
virtual ~ExternalApplicationListenerTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
base::Thread::Options options;
options.message_loop_type = base::MessageLoop::TYPE_IO;
io_thread_.StartWithOptions(options);
@@ -53,6 +53,7 @@ class ExternalApplicationListenerTest : public testing::Test {
};
namespace {
+
class StubShellImpl : public InterfaceImpl<Shell> {
private:
virtual void ConnectToApplication(
@@ -81,6 +82,7 @@ void ConnectOnIOThread(const base::FilePath& socket_path,
ExternalApplicationRegistrarConnection connection(socket_path);
connection.Connect(base::Bind(&QuitLoopOnConnect, to_quit, quit_callback));
}
+
} // namespace
TEST_F(ExternalApplicationListenerTest, ConnectConnection) {
@@ -95,6 +97,7 @@ TEST_F(ExternalApplicationListenerTest, ConnectConnection) {
}
namespace {
+
class QuitLoopOnConnectApplicationImpl : public InterfaceImpl<Application> {
public:
QuitLoopOnConnectApplicationImpl(const std::string& url,
@@ -190,6 +193,7 @@ void ConnectAndRegisterOnIOThread(const base::FilePath& socket_path,
void DestroyOnIOThread(scoped_ptr<FakeExternalApplication> doomed1,
scoped_ptr<FakeExternalApplication> doomed2) {
}
+
} // namespace
// Create two external applications, have them discover and connect to

Powered by Google App Engine
This is Rietveld 408576698