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

Side by Side Diff: remoting/host/ipc_desktop_environment_unittest.cc

Issue 660803004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/bind.h" 5 #include "base/bind.h"
6 #include "base/bind_helpers.h" 6 #include "base/bind_helpers.h"
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 EXPECT_TRUE(handled); 115 EXPECT_TRUE(handled);
116 return handled; 116 return handled;
117 } 117 }
118 118
119 } // namespace 119 } // namespace
120 120
121 class IpcDesktopEnvironmentTest : public testing::Test { 121 class IpcDesktopEnvironmentTest : public testing::Test {
122 public: 122 public:
123 IpcDesktopEnvironmentTest(); 123 IpcDesktopEnvironmentTest();
124 virtual ~IpcDesktopEnvironmentTest(); 124 ~IpcDesktopEnvironmentTest() override;
125 125
126 virtual void SetUp() override; 126 void SetUp() override;
127 127
128 void ConnectTerminal(int terminal_id, 128 void ConnectTerminal(int terminal_id,
129 const ScreenResolution& resolution, 129 const ScreenResolution& resolution,
130 bool virtual_terminal); 130 bool virtual_terminal);
131 void DisconnectTerminal(int terminal_id); 131 void DisconnectTerminal(int terminal_id);
132 132
133 // Creates a DesktopEnvironment with a fake webrtc::DesktopCapturer, to mock 133 // Creates a DesktopEnvironment with a fake webrtc::DesktopCapturer, to mock
134 // DesktopEnvironmentFactory::Create(). 134 // DesktopEnvironmentFactory::Create().
135 DesktopEnvironment* CreateDesktopEnvironment(); 135 DesktopEnvironment* CreateDesktopEnvironment();
136 136
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 screen_controls_->SetScreenResolution(ScreenResolution( 655 screen_controls_->SetScreenResolution(ScreenResolution(
656 webrtc::DesktopSize(100, 100), 656 webrtc::DesktopSize(100, 100),
657 webrtc::DesktopVector(96, 96))); 657 webrtc::DesktopVector(96, 96)));
658 658
659 task_runner_ = NULL; 659 task_runner_ = NULL;
660 io_task_runner_ = NULL; 660 io_task_runner_ = NULL;
661 main_run_loop_.Run(); 661 main_run_loop_.Run();
662 } 662 }
663 663
664 } // namespace remoting 664 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/input_injector_linux.cc ('k') | remoting/host/it2me/it2me_native_messaging_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698