OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/gin_java_script_to_java_types_coerc
ion.h" | 5 #include "content/browser/android/java/gin_java_script_to_java_types_coercion.h" |
6 | 6 |
7 #include <unistd.h> | 7 #include <unistd.h> |
8 | 8 |
9 #include "base/android/jni_android.h" | 9 #include "base/android/jni_android.h" |
10 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "content/common/android/gin_java_bridge_value.h" | 14 #include "content/common/android/gin_java_bridge_value.h" |
15 | 15 |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
696 env, value, target_type, coerce_to_string); | 696 env, value, target_type, coerce_to_string); |
697 case base::Value::TYPE_BINARY: | 697 case base::Value::TYPE_BINARY: |
698 return CoerceGinJavaBridgeValueToJavaValue( | 698 return CoerceGinJavaBridgeValueToJavaValue( |
699 env, value, target_type, coerce_to_string, object_refs); | 699 env, value, target_type, coerce_to_string, object_refs); |
700 } | 700 } |
701 NOTREACHED(); | 701 NOTREACHED(); |
702 return jvalue(); | 702 return jvalue(); |
703 } | 703 } |
704 | 704 |
705 } // namespace content | 705 } // namespace content |
OLD | NEW |