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

Side by Side Diff: remoting/client/jni/chromoting_jni_instance.cc

Issue 2338473002: [Remoting Android] JniGlDisplayHandler calls invalidate() on UI thread (Closed)
Patch Set: Reviewer's Feedback Created 4 years, 3 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 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 "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback_helpers.h" 11 #include "base/callback_helpers.h"
12 #include "base/format_macros.h" 12 #include "base/format_macros.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.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/client/audio_player_android.h" 18 #include "remoting/client/audio_player_android.h"
19 #include "remoting/client/client_telemetry_logger.h" 19 #include "remoting/client/client_telemetry_logger.h"
20 #include "remoting/client/jni/android_keymap.h" 20 #include "remoting/client/jni/android_keymap.h"
21 #include "remoting/client/jni/chromoting_jni_runtime.h" 21 #include "remoting/client/jni/chromoting_jni_runtime.h"
22 #include "remoting/client/jni/display_updater_factory.h"
23 #include "remoting/client/jni/jni_client.h" 22 #include "remoting/client/jni/jni_client.h"
24 #include "remoting/client/jni/jni_pairing_secret_fetcher.h" 23 #include "remoting/client/jni/jni_pairing_secret_fetcher.h"
25 #include "remoting/protocol/chromium_port_allocator_factory.h" 24 #include "remoting/protocol/chromium_port_allocator_factory.h"
26 #include "remoting/protocol/chromium_socket_factory.h" 25 #include "remoting/protocol/chromium_socket_factory.h"
27 #include "remoting/protocol/client_authentication_config.h" 26 #include "remoting/protocol/client_authentication_config.h"
28 #include "remoting/protocol/frame_consumer.h" 27 #include "remoting/protocol/frame_consumer.h"
29 #include "remoting/protocol/host_stub.h" 28 #include "remoting/protocol/host_stub.h"
30 #include "remoting/protocol/network_settings.h" 29 #include "remoting/protocol/network_settings.h"
31 #include "remoting/protocol/performance_tracker.h" 30 #include "remoting/protocol/performance_tracker.h"
32 #include "remoting/protocol/transport_context.h" 31 #include "remoting/protocol/transport_context.h"
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 video_renderer_.reset(); 495 video_renderer_.reset();
497 signaling_.reset(); 496 signaling_.reset();
498 perf_tracker_.reset(); 497 perf_tracker_.reset();
499 client_context_.reset(); 498 client_context_.reset();
500 cursor_shape_stub_.reset(); 499 cursor_shape_stub_.reset();
501 500
502 weak_factory_.InvalidateWeakPtrs(); 501 weak_factory_.InvalidateWeakPtrs();
503 } 502 }
504 503
505 } // namespace remoting 504 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/android/java/src/org/chromium/chromoting/jni/GlDisplay.java ('k') | remoting/client/jni/display_updater_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698