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

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

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 #ifndef CONTENT_BROWSER_RENDERER_HOST_JAVA_GIN_JAVA_METHOD_INVOCATION_HELPER_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_JAVA_GIN_JAVA_METHOD_INVOCATION_HELPER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_GIN_JAVA_METHOD_INVOCATION_HELPER_H_ 6 #define CONTENT_BROWSER_ANDROID_JAVA_GIN_JAVA_METHOD_INVOCATION_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/android/jni_weak_ref.h" 10 #include "base/android/jni_weak_ref.h"
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "content/browser/renderer_host/java/gin_java_bound_object.h" 14 #include "content/browser/android/java/gin_java_bound_object.h"
15 #include "content/browser/renderer_host/java/java_type.h" 15 #include "content/browser/android/java/java_type.h"
16 #include "content/common/android/gin_java_bridge_errors.h" 16 #include "content/common/android/gin_java_bridge_errors.h"
17 #include "content/common/content_export.h" 17 #include "content/common/content_export.h"
18 18
19 namespace content { 19 namespace content {
20 20
21 class JavaMethod; 21 class JavaMethod;
22 22
23 // Instances of this class are created and initialized on the UI thread, do 23 // Instances of this class are created and initialized on the UI thread, do
24 // their work on the background thread, and then again examined on the UI 24 // their work on the background thread, and then again examined on the UI
25 // thread. They don't work on both threads simultaneously, though. 25 // thread. They don't work on both threads simultaneously, though.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 scoped_ptr<base::ListValue> primitive_result_; 107 scoped_ptr<base::ListValue> primitive_result_;
108 GinJavaBridgeError invocation_error_; 108 GinJavaBridgeError invocation_error_;
109 base::android::ScopedJavaGlobalRef<jobject> object_result_; 109 base::android::ScopedJavaGlobalRef<jobject> object_result_;
110 base::android::ScopedJavaGlobalRef<jclass> safe_annotation_clazz_; 110 base::android::ScopedJavaGlobalRef<jclass> safe_annotation_clazz_;
111 111
112 DISALLOW_COPY_AND_ASSIGN(GinJavaMethodInvocationHelper); 112 DISALLOW_COPY_AND_ASSIGN(GinJavaMethodInvocationHelper);
113 }; 113 };
114 114
115 } // namespace content 115 } // namespace content
116 116
117 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_GIN_JAVA_METHOD_INVOCATION_HELPER_ H_ 117 #endif // CONTENT_BROWSER_ANDROID_JAVA_GIN_JAVA_METHOD_INVOCATION_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698