| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/browser/renderer_host/java/java_bridge_dispatcher_host_manager
.h" | 5 #include "content/browser/renderer_host/java/java_bridge_dispatcher_host_manager
.h" |
| 6 | 6 |
| 7 #include "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
| 8 #include "base/android/jni_helper.h" | 8 #include "base/android/jni_weak_ref.h" |
| 9 #include "base/android/scoped_java_ref.h" | 9 #include "base/android/scoped_java_ref.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
| 13 #include "content/browser/renderer_host/java/java_bound_object.h" | 13 #include "content/browser/renderer_host/java/java_bound_object.h" |
| 14 #include "content/browser/renderer_host/java/java_bridge_dispatcher_host.h" | 14 #include "content/browser/renderer_host/java/java_bridge_dispatcher_host.h" |
| 15 #include "content/common/android/hash_set.h" | 15 #include "content/common/android/hash_set.h" |
| 16 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
| 17 #include "content/public/browser/render_frame_host.h" | 17 #include "content/public/browser/render_frame_host.h" |
| 18 #include "third_party/WebKit/public/web/WebBindings.h" | 18 #include "third_party/WebKit/public/web/WebBindings.h" |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 JNI_Java_HashSet_remove(env, retained_object_set, object); | 155 JNI_Java_HashSet_remove(env, retained_object_set, object); |
| 156 } | 156 } |
| 157 } | 157 } |
| 158 | 158 |
| 159 void JavaBridgeDispatcherHostManager::SetAllowObjectContentsInspection( | 159 void JavaBridgeDispatcherHostManager::SetAllowObjectContentsInspection( |
| 160 bool allow) { | 160 bool allow) { |
| 161 allow_object_contents_inspection_ = allow; | 161 allow_object_contents_inspection_ = allow; |
| 162 } | 162 } |
| 163 | 163 |
| 164 } // namespace content | 164 } // namespace content |
| OLD | NEW |