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

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

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "remoting/host/screen_recorder.h" 5 #include "remoting/host/screen_recorder.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/stl_util-inl.h" 11 #include "base/stl_util.h"
12 #include "base/task.h" 12 #include "base/task.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "remoting/base/capture_data.h" 14 #include "remoting/base/capture_data.h"
15 #include "remoting/base/tracer.h" 15 #include "remoting/base/tracer.h"
16 #include "remoting/proto/control.pb.h" 16 #include "remoting/proto/control.pb.h"
17 #include "remoting/proto/video.pb.h" 17 #include "remoting/proto/video.pb.h"
18 #include "remoting/protocol/client_stub.h" 18 #include "remoting/protocol/client_stub.h"
19 #include "remoting/protocol/connection_to_client.h" 19 #include "remoting/protocol/connection_to_client.h"
20 #include "remoting/protocol/message_decoder.h" 20 #include "remoting/protocol/message_decoder.h"
21 #include "remoting/protocol/util.h" 21 #include "remoting/protocol/util.h"
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 (base::Time::Now() - encode_start_time_).InMilliseconds()); 398 (base::Time::Now() - encode_start_time_).InMilliseconds());
399 packet->set_encode_time_ms(encode_time); 399 packet->set_encode_time_ms(encode_time);
400 } 400 }
401 401
402 network_loop_->PostTask( 402 network_loop_->PostTask(
403 FROM_HERE, 403 FROM_HERE,
404 NewTracedMethod(this, &ScreenRecorder::DoSendVideoPacket, packet)); 404 NewTracedMethod(this, &ScreenRecorder::DoSendVideoPacket, packet));
405 } 405 }
406 406
407 } // namespace remoting 407 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698