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

Side by Side Diff: remoting/client/software_video_renderer.h

Issue 836183002: Rename sequence_number to timestamp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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_CLIENT_SOFTWARE_VIDEO_RENDERER_H_ 5 #ifndef REMOTING_CLIENT_SOFTWARE_VIDEO_RENDERER_H_
6 #define REMOTING_CLIENT_SOFTWARE_VIDEO_RENDERER_H_ 6 #define REMOTING_CLIENT_SOFTWARE_VIDEO_RENDERER_H_
7 7
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 "remoting/client/chromoting_stats.h" 10 #include "remoting/client/chromoting_stats.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 // Callback method when a VideoPacket is processed. |decode_start| contains 66 // Callback method when a VideoPacket is processed. |decode_start| contains
67 // the timestamp when the packet will start to be processed. 67 // the timestamp when the packet will start to be processed.
68 void OnPacketDone(base::Time decode_start, const base::Closure& done); 68 void OnPacketDone(base::Time decode_start, const base::Closure& done);
69 69
70 scoped_refptr<base::SingleThreadTaskRunner> decode_task_runner_; 70 scoped_refptr<base::SingleThreadTaskRunner> decode_task_runner_;
71 scoped_ptr<Core> core_; 71 scoped_ptr<Core> core_;
72 72
73 ChromotingStats stats_; 73 ChromotingStats stats_;
74 74
75 // Keep track of the most recent sequence number bounced back from the host. 75 // Keep track of the event timestamp bounced back from the host.
76 int64 latest_sequence_number_; 76 int64 last_event_timestamp_;
Wez 2015/01/07 23:56:19 s/last/latest
Sergey Ulanov 2015/01/08 17:40:26 Done.
77 77
78 base::WeakPtrFactory<SoftwareVideoRenderer> weak_factory_; 78 base::WeakPtrFactory<SoftwareVideoRenderer> weak_factory_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(SoftwareVideoRenderer); 80 DISALLOW_COPY_AND_ASSIGN(SoftwareVideoRenderer);
81 }; 81 };
82 82
83 } // namespace remoting 83 } // namespace remoting
84 84
85 #endif // REMOTING_CLIENT_SOFTWARE_VIDEO_RENDERER_H_ 85 #endif // REMOTING_CLIENT_SOFTWARE_VIDEO_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/client/software_video_renderer.cc » ('j') | remoting/host/chromoting_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698