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/jni/chromoting_jni_instance.cc

Issue 1794433002: Use ClientAuthenticationConfig in PairingClientAuthenticator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « remoting/client/chromoting_client.cc ('k') | remoting/client/plugin/chromoting_instance.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/client/jni/chromoting_jni_instance.h" 5 #include "remoting/client/jni/chromoting_jni_instance.h"
6 6
7 #include <android/log.h> 7 #include <android/log.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/callback_helpers.h" 13 #include "base/callback_helpers.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "jingle/glue/thread_wrapper.h" 15 #include "jingle/glue/thread_wrapper.h"
16 #include "net/socket/client_socket_factory.h" 16 #include "net/socket/client_socket_factory.h"
17 #include "remoting/base/chromium_url_request.h" 17 #include "remoting/base/chromium_url_request.h"
18 #include "remoting/base/service_urls.h" 18 #include "remoting/base/service_urls.h"
19 #include "remoting/client/audio_player.h" 19 #include "remoting/client/audio_player.h"
20 #include "remoting/client/client_status_logger.h" 20 #include "remoting/client/client_status_logger.h"
21 #include "remoting/client/jni/android_keymap.h" 21 #include "remoting/client/jni/android_keymap.h"
22 #include "remoting/client/jni/chromoting_jni_runtime.h" 22 #include "remoting/client/jni/chromoting_jni_runtime.h"
23 #include "remoting/client/jni/jni_frame_consumer.h" 23 #include "remoting/client/jni/jni_frame_consumer.h"
24 #include "remoting/client/software_video_renderer.h" 24 #include "remoting/client/software_video_renderer.h"
25 #include "remoting/protocol/chromium_port_allocator_factory.h" 25 #include "remoting/protocol/chromium_port_allocator_factory.h"
26 #include "remoting/protocol/chromium_socket_factory.h" 26 #include "remoting/protocol/chromium_socket_factory.h"
27 #include "remoting/protocol/client_authentication_config.h"
27 #include "remoting/protocol/host_stub.h" 28 #include "remoting/protocol/host_stub.h"
28 #include "remoting/protocol/negotiating_client_authenticator.h"
29 #include "remoting/protocol/network_settings.h" 29 #include "remoting/protocol/network_settings.h"
30 #include "remoting/protocol/performance_tracker.h" 30 #include "remoting/protocol/performance_tracker.h"
31 #include "remoting/protocol/transport_context.h" 31 #include "remoting/protocol/transport_context.h"
32 #include "remoting/signaling/server_log_entry.h" 32 #include "remoting/signaling/server_log_entry.h"
33 #include "ui/events/keycodes/dom/keycode_converter.h" 33 #include "ui/events/keycodes/dom/keycode_converter.h"
34 34
35 namespace remoting { 35 namespace remoting {
36 36
37 namespace { 37 namespace {
38 38
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 perf_tracker_->round_trip_ms()); 491 perf_tracker_->round_trip_ms());
492 492
493 client_status_logger_->LogStatistics(perf_tracker_.get()); 493 client_status_logger_->LogStatistics(perf_tracker_.get());
494 494
495 jni_runtime_->network_task_runner()->PostDelayedTask( 495 jni_runtime_->network_task_runner()->PostDelayedTask(
496 FROM_HERE, base::Bind(&ChromotingJniInstance::LogPerfStats, this), 496 FROM_HERE, base::Bind(&ChromotingJniInstance::LogPerfStats, this),
497 base::TimeDelta::FromMilliseconds(kPerfStatsIntervalMs)); 497 base::TimeDelta::FromMilliseconds(kPerfStatsIntervalMs));
498 } 498 }
499 499
500 } // namespace remoting 500 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/chromoting_client.cc ('k') | remoting/client/plugin/chromoting_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698