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

Side by Side Diff: content/browser/android/java/gin_java_method_invocation_helper.cc

Issue 336313018: [Android] Move content/browser/{renderer_host => android}/java/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
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_method_invocation_helper.h " 5 #include "content/browser/android/java/gin_java_method_invocation_helper.h"
6 6
7 #include <unistd.h> 7 #include <unistd.h>
8 8
9 #include "base/android/event_log.h" 9 #include "base/android/event_log.h"
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
11 #include "base/android/jni_string.h" 11 #include "base/android/jni_string.h"
12 #include "base/float_util.h" 12 #include "base/float_util.h"
13 #include "content/browser/renderer_host/java/gin_java_script_to_java_types_coerc ion.h" 13 #include "content/browser/android/java/gin_java_script_to_java_types_coercion.h"
14 #include "content/browser/renderer_host/java/java_method.h" 14 #include "content/browser/android/java/java_method.h"
15 #include "content/browser/renderer_host/java/jni_helper.h" 15 #include "content/browser/android/java/jni_helper.h"
16 #include "content/common/android/gin_java_bridge_value.h" 16 #include "content/common/android/gin_java_bridge_value.h"
17 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
18 18
19 using base::android::AttachCurrentThread; 19 using base::android::AttachCurrentThread;
20 using base::android::ScopedJavaLocalRef; 20 using base::android::ScopedJavaLocalRef;
21 21
22 namespace content { 22 namespace content {
23 23
24 namespace { 24 namespace {
25 25
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 } 326 }
327 // This is for all cases except JavaType::TypeObject. 327 // This is for all cases except JavaType::TypeObject.
328 if (!base::android::ClearException(env)) { 328 if (!base::android::ClearException(env)) {
329 SetPrimitiveResult(result_wrapper); 329 SetPrimitiveResult(result_wrapper);
330 } else { 330 } else {
331 SetInvocationError(kGinJavaBridgeJavaExceptionRaised); 331 SetInvocationError(kGinJavaBridgeJavaExceptionRaised);
332 } 332 }
333 } 333 }
334 334
335 } // namespace content 335 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698