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

Side by Side Diff: device/bluetooth/test/bluetooth_test_android.cc

Issue 2209993003: Add missing using statements for JNI types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "device/bluetooth/test/bluetooth_test_android.h" 5 #include "device/bluetooth/test/bluetooth_test_android.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "base/android/jni_array.h" 10 #include "base/android/jni_array.h"
11 #include "base/android/jni_string.h" 11 #include "base/android/jni_string.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "device/bluetooth/android/wrappers.h" 14 #include "device/bluetooth/android/wrappers.h"
15 #include "device/bluetooth/bluetooth_adapter_android.h" 15 #include "device/bluetooth/bluetooth_adapter_android.h"
16 #include "device/bluetooth/bluetooth_device_android.h" 16 #include "device/bluetooth/bluetooth_device_android.h"
17 #include "device/bluetooth/bluetooth_remote_gatt_characteristic_android.h" 17 #include "device/bluetooth/bluetooth_remote_gatt_characteristic_android.h"
18 #include "device/bluetooth/bluetooth_remote_gatt_descriptor_android.h" 18 #include "device/bluetooth/bluetooth_remote_gatt_descriptor_android.h"
19 #include "device/bluetooth/bluetooth_remote_gatt_service_android.h" 19 #include "device/bluetooth/bluetooth_remote_gatt_service_android.h"
20 #include "device/bluetooth/test/test_bluetooth_adapter_observer.h" 20 #include "device/bluetooth/test/test_bluetooth_adapter_observer.h"
21 #include "jni/Fakes_jni.h" 21 #include "jni/Fakes_jni.h"
22 22
23 using base::android::AttachCurrentThread; 23 using base::android::AttachCurrentThread;
24 using base::android::JavaParamRef;
24 using base::android::ScopedJavaLocalRef; 25 using base::android::ScopedJavaLocalRef;
25 26
26 namespace device { 27 namespace device {
27 28
28 BluetoothTestAndroid::BluetoothTestAndroid() { 29 BluetoothTestAndroid::BluetoothTestAndroid() {
29 } 30 }
30 31
31 BluetoothTestAndroid::~BluetoothTestAndroid() { 32 BluetoothTestAndroid::~BluetoothTestAndroid() {
32 } 33 }
33 34
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 } 478 }
478 479
479 void BluetoothTestAndroid::OnFakeAdapterStateChanged( 480 void BluetoothTestAndroid::OnFakeAdapterStateChanged(
480 JNIEnv* env, 481 JNIEnv* env,
481 const JavaParamRef<jobject>& caller, 482 const JavaParamRef<jobject>& caller,
482 const bool powered) { 483 const bool powered) {
483 adapter_->NotifyAdapterPoweredChanged(powered); 484 adapter_->NotifyAdapterPoweredChanged(powered);
484 } 485 }
485 486
486 } // namespace device 487 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_service_android.cc ('k') | device/gamepad/gamepad_platform_data_fetcher_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698