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

Side by Side Diff: remoting/host/video_frame_recorder_host_extension.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
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 #ifndef REMOTING_HOST_VIDEO_FRAME_RECORDER_HOST_EXTENSION_H_ 5 #ifndef REMOTING_HOST_VIDEO_FRAME_RECORDER_HOST_EXTENSION_H_
6 #define REMOTING_HOST_VIDEO_FRAME_RECORDER_HOST_EXTENSION_H_ 6 #define REMOTING_HOST_VIDEO_FRAME_RECORDER_HOST_EXTENSION_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "remoting/host/host_extension.h" 9 #include "remoting/host/host_extension.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 // Extends Chromoting sessions with the ability to record raw frames and 13 // Extends Chromoting sessions with the ability to record raw frames and
14 // download them to the client. This can be used to obtain representative 14 // download them to the client. This can be used to obtain representative
15 // sequences of frames to run tests against. 15 // sequences of frames to run tests against.
16 class VideoFrameRecorderHostExtension : public HostExtension { 16 class VideoFrameRecorderHostExtension : public HostExtension {
17 public: 17 public:
18 VideoFrameRecorderHostExtension(); 18 VideoFrameRecorderHostExtension();
19 virtual ~VideoFrameRecorderHostExtension(); 19 virtual ~VideoFrameRecorderHostExtension();
20 20
21 // Sets the maximum number of bytes that each session may record. 21 // Sets the maximum number of bytes that each session may record.
22 void SetMaxContentBytes(int64_t max_content_bytes); 22 void SetMaxContentBytes(int64_t max_content_bytes);
23 23
24 // remoting::HostExtension interface. 24 // remoting::HostExtension interface.
25 virtual std::string capability() const OVERRIDE; 25 virtual std::string capability() const override;
26 virtual scoped_ptr<HostExtensionSession> CreateExtensionSession( 26 virtual scoped_ptr<HostExtensionSession> CreateExtensionSession(
27 ClientSessionControl* client_session, 27 ClientSessionControl* client_session,
28 protocol::ClientStub* client_stub) OVERRIDE; 28 protocol::ClientStub* client_stub) override;
29 29
30 private: 30 private:
31 int64_t max_content_bytes_; 31 int64_t max_content_bytes_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(VideoFrameRecorderHostExtension); 33 DISALLOW_COPY_AND_ASSIGN(VideoFrameRecorderHostExtension);
34 }; 34 };
35 35
36 } // namespace remoting 36 } // namespace remoting
37 37
38 #endif // REMOTING_HOST_VIDEO_FRAME_RECORDER_HOST_EXTENSION_H_ 38 #endif // REMOTING_HOST_VIDEO_FRAME_RECORDER_HOST_EXTENSION_H_
OLDNEW
« no previous file with comments | « remoting/host/video_frame_recorder.cc ('k') | remoting/host/video_frame_recorder_host_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698