| Index: remoting/host/screen_recorder.h
|
| diff --git a/remoting/host/screen_recorder.h b/remoting/host/screen_recorder.h
|
| index 79eacc760ab48ca6d661150a320aea07ae14732e..5d1a39e3e1b2692c5c166f9334dc64e2f25fe771 100644
|
| --- a/remoting/host/screen_recorder.h
|
| +++ b/remoting/host/screen_recorder.h
|
| @@ -11,7 +11,6 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/message_loop.h"
|
| -#include "base/scoped_ptr.h"
|
| #include "base/time.h"
|
| #include "base/timer.h"
|
| #include "remoting/base/encoder.h"
|
| @@ -104,6 +103,9 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> {
|
| // Remove all connections.
|
| void RemoveAllConnections();
|
|
|
| + // Update the sequence number for tracing performance.
|
| + void UpdateSequenceNumber(int64 sequence_number);
|
| +
|
| private:
|
| // Getters for capturer and encoder.
|
| Capturer* capturer();
|
| @@ -202,6 +204,9 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> {
|
| // Time when encode is started.
|
| base::Time encode_start_time_;
|
|
|
| + // This is a number updated by client to trace performance.
|
| + int64 sequence_number_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ScreenRecorder);
|
| };
|
|
|
|
|