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

Side by Side Diff: remoting/host/host_mock_objects.h

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 | « remoting/host/host_event_logger_win.cc ('k') | remoting/host/host_status_logger.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 5 #ifndef REMOTING_HOST_HOST_MOCK_OBJECTS_H_
6 #define REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 6 #define REMOTING_HOST_HOST_MOCK_OBJECTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
(...skipping 25 matching lines...) Expand all
36 MOCK_METHOD0(CreateInputInjectorPtr, InputInjector*()); 36 MOCK_METHOD0(CreateInputInjectorPtr, InputInjector*());
37 MOCK_METHOD0(CreateScreenControlsPtr, ScreenControls*()); 37 MOCK_METHOD0(CreateScreenControlsPtr, ScreenControls*());
38 MOCK_METHOD0(CreateVideoCapturerPtr, webrtc::DesktopCapturer*()); 38 MOCK_METHOD0(CreateVideoCapturerPtr, webrtc::DesktopCapturer*());
39 MOCK_METHOD0(CreateMouseCursorMonitorPtr, webrtc::MouseCursorMonitor*()); 39 MOCK_METHOD0(CreateMouseCursorMonitorPtr, webrtc::MouseCursorMonitor*());
40 MOCK_CONST_METHOD0(GetCapabilities, std::string()); 40 MOCK_CONST_METHOD0(GetCapabilities, std::string());
41 MOCK_METHOD1(SetCapabilities, void(const std::string&)); 41 MOCK_METHOD1(SetCapabilities, void(const std::string&));
42 MOCK_METHOD1(CreateGnubbyAuthHandlerPtr, GnubbyAuthHandler*( 42 MOCK_METHOD1(CreateGnubbyAuthHandlerPtr, GnubbyAuthHandler*(
43 protocol::ClientStub* client_stub)); 43 protocol::ClientStub* client_stub));
44 44
45 // DesktopEnvironment implementation. 45 // DesktopEnvironment implementation.
46 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer() OVERRIDE; 46 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer() override;
47 virtual scoped_ptr<InputInjector> CreateInputInjector() OVERRIDE; 47 virtual scoped_ptr<InputInjector> CreateInputInjector() override;
48 virtual scoped_ptr<ScreenControls> CreateScreenControls() OVERRIDE; 48 virtual scoped_ptr<ScreenControls> CreateScreenControls() override;
49 virtual scoped_ptr<webrtc::DesktopCapturer> CreateVideoCapturer() OVERRIDE; 49 virtual scoped_ptr<webrtc::DesktopCapturer> CreateVideoCapturer() override;
50 virtual scoped_ptr<GnubbyAuthHandler> CreateGnubbyAuthHandler( 50 virtual scoped_ptr<GnubbyAuthHandler> CreateGnubbyAuthHandler(
51 protocol::ClientStub* client_stub) OVERRIDE; 51 protocol::ClientStub* client_stub) override;
52 virtual scoped_ptr<webrtc::MouseCursorMonitor> CreateMouseCursorMonitor() 52 virtual scoped_ptr<webrtc::MouseCursorMonitor> CreateMouseCursorMonitor()
53 OVERRIDE; 53 override;
54 }; 54 };
55 55
56 class MockClientSessionControl : public ClientSessionControl { 56 class MockClientSessionControl : public ClientSessionControl {
57 public: 57 public:
58 MockClientSessionControl(); 58 MockClientSessionControl();
59 virtual ~MockClientSessionControl(); 59 virtual ~MockClientSessionControl();
60 60
61 MOCK_CONST_METHOD0(client_jid, const std::string&()); 61 MOCK_CONST_METHOD0(client_jid, const std::string&());
62 MOCK_METHOD0(DisconnectSession, void()); 62 MOCK_METHOD0(DisconnectSession, void());
63 MOCK_METHOD1(OnLocalMouseMoved, void(const webrtc::DesktopVector&)); 63 MOCK_METHOD1(OnLocalMouseMoved, void(const webrtc::DesktopVector&));
(...skipping 25 matching lines...) Expand all
89 89
90 class MockDesktopEnvironmentFactory : public DesktopEnvironmentFactory { 90 class MockDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
91 public: 91 public:
92 MockDesktopEnvironmentFactory(); 92 MockDesktopEnvironmentFactory();
93 virtual ~MockDesktopEnvironmentFactory(); 93 virtual ~MockDesktopEnvironmentFactory();
94 94
95 MOCK_METHOD0(CreatePtr, DesktopEnvironment*()); 95 MOCK_METHOD0(CreatePtr, DesktopEnvironment*());
96 MOCK_CONST_METHOD0(SupportsAudioCapture, bool()); 96 MOCK_CONST_METHOD0(SupportsAudioCapture, bool());
97 97
98 virtual scoped_ptr<DesktopEnvironment> Create( 98 virtual scoped_ptr<DesktopEnvironment> Create(
99 base::WeakPtr<ClientSessionControl> client_session_control) OVERRIDE; 99 base::WeakPtr<ClientSessionControl> client_session_control) override;
100 100
101 private: 101 private:
102 DISALLOW_COPY_AND_ASSIGN(MockDesktopEnvironmentFactory); 102 DISALLOW_COPY_AND_ASSIGN(MockDesktopEnvironmentFactory);
103 }; 103 };
104 104
105 class MockInputInjector : public InputInjector { 105 class MockInputInjector : public InputInjector {
106 public: 106 public:
107 MockInputInjector(); 107 MockInputInjector();
108 virtual ~MockInputInjector(); 108 virtual ~MockInputInjector();
109 109
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 MOCK_METHOD2(Init, void(Callback* callback, Mode mode)); 159 MOCK_METHOD2(Init, void(Callback* callback, Mode mode));
160 MOCK_METHOD0(Capture, void()); 160 MOCK_METHOD0(Capture, void());
161 161
162 private: 162 private:
163 DISALLOW_COPY_AND_ASSIGN(MockMouseCursorMonitor); 163 DISALLOW_COPY_AND_ASSIGN(MockMouseCursorMonitor);
164 }; 164 };
165 165
166 } // namespace remoting 166 } // namespace remoting
167 167
168 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 168 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/host/host_event_logger_win.cc ('k') | remoting/host/host_status_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698