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

Side by Side Diff: remoting/client/jni/chromoting_jni_runtime.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 4 years, 12 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/jni/chromoting_jni_runtime.h ('k') | remoting/client/jni/jni_frame_consumer.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_runtime.h" 5 #include "remoting/client/jni/chromoting_jni_runtime.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_array.h" 8 #include "base/android/jni_array.h"
9 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
10 #include "base/android/library_loader/library_loader_hooks.h" 10 #include "base/android/library_loader/library_loader_hooks.h"
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 #include "base/basictypes.h"
13 #include "base/command_line.h" 12 #include "base/command_line.h"
14 #include "base/memory/singleton.h" 13 #include "base/memory/singleton.h"
15 #include "base/stl_util.h" 14 #include "base/stl_util.h"
16 #include "base/synchronization/waitable_event.h" 15 #include "base/synchronization/waitable_event.h"
17 #include "google_apis/google_api_keys.h" 16 #include "google_apis/google_api_keys.h"
18 #include "jni/JniInterface_jni.h" 17 #include "jni/JniInterface_jni.h"
19 #include "remoting/base/url_request_context_getter.h" 18 #include "remoting/base/url_request_context_getter.h"
20 #include "remoting/client/jni/jni_touch_event_data.h" 19 #include "remoting/client/jni/jni_touch_event_data.h"
21 20
22 using base::android::ConvertJavaStringToUTF8; 21 using base::android::ConvertJavaStringToUTF8;
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 389
391 JNIEnv* env = base::android::AttachCurrentThread(); 390 JNIEnv* env = base::android::AttachCurrentThread();
392 Java_JniInterface_redrawGraphicsInternal(env); 391 Java_JniInterface_redrawGraphicsInternal(env);
393 } 392 }
394 393
395 void ChromotingJniRuntime::DetachFromVmAndSignal(base::WaitableEvent* waiter) { 394 void ChromotingJniRuntime::DetachFromVmAndSignal(base::WaitableEvent* waiter) {
396 base::android::DetachFromVM(); 395 base::android::DetachFromVM();
397 waiter->Signal(); 396 waiter->Signal();
398 } 397 }
399 } // namespace remoting 398 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/jni/chromoting_jni_runtime.h ('k') | remoting/client/jni/jni_frame_consumer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698