| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "content/test/browser_test_message_pump_android.h" | 5 #include "content/public/test/browser_test_message_pump_android.h" |
| 6 | 6 |
| 7 #include "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
| 8 #include "base/android/scoped_java_ref.h" | 8 #include "base/android/scoped_java_ref.h" |
| 9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/synchronization/waitable_event.h" | 11 #include "base/synchronization/waitable_event.h" |
| 12 #include "base/time.h" | 12 #include "base/time.h" |
| 13 #include "jni/BrowserTestSystemMessageHandler_jni.h" | 13 #include "jni/BrowserTestSystemMessageHandler_jni.h" |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 | 155 |
| 156 base::MessagePumpForUI::ScheduleDelayedWork(delayed_work_time); | 156 base::MessagePumpForUI::ScheduleDelayedWork(delayed_work_time); |
| 157 } | 157 } |
| 158 | 158 |
| 159 // static | 159 // static |
| 160 bool BrowserTestMessagePumpAndroid::RegisterJni(JNIEnv* env) { | 160 bool BrowserTestMessagePumpAndroid::RegisterJni(JNIEnv* env) { |
| 161 return RegisterNativesImpl(env); | 161 return RegisterNativesImpl(env); |
| 162 } | 162 } |
| 163 | 163 |
| 164 } // namespace content | 164 } // namespace content |
| OLD | NEW |