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

Side by Side Diff: remoting/test/protocol_perftest.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 5 years 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/test/mock_access_token_fetcher.h ('k') | remoting/test/refresh_token_store.cc » ('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 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 #include "base/base64.h" 5 #include "base/base64.h"
6 #include "base/files/file_util.h" 6 #include "base/files/file_util.h"
7 #include "base/macros.h"
7 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
8 #include "base/rand_util.h" 9 #include "base/rand_util.h"
9 #include "base/run_loop.h" 10 #include "base/run_loop.h"
10 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
11 #include "base/synchronization/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
12 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
13 #include "jingle/glue/thread_wrapper.h" 14 #include "jingle/glue/thread_wrapper.h"
14 #include "net/base/test_data_directory.h" 15 #include "net/base/test_data_directory.h"
15 #include "net/url_request/url_request_context_getter.h" 16 #include "net/url_request/url_request_context_getter.h"
16 #include "remoting/base/rsa_key_pair.h" 17 #include "remoting/base/rsa_key_pair.h"
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 << "ms Encode: " << last_video_packet_->encode_time_ms() 488 << "ms Encode: " << last_video_packet_->encode_time_ms()
488 << "ms Capture: " << last_video_packet_->capture_time_ms() 489 << "ms Capture: " << last_video_packet_->capture_time_ms()
489 << "ms"; 490 << "ms";
490 sum += latency; 491 sum += latency;
491 } 492 }
492 493
493 LOG(INFO) << "Average: " << (sum / kFrames).InMillisecondsF(); 494 LOG(INFO) << "Average: " << (sum / kFrames).InMillisecondsF();
494 } 495 }
495 496
496 } // namespace remoting 497 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/test/mock_access_token_fetcher.h ('k') | remoting/test/refresh_token_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698