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

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

Issue 336313018: [Android] Move content/browser/{renderer_host => android}/java/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated paths for unit tests, rebased 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 (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 #ifndef CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BOUND_OBJECT_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_JAVA_JAVA_BOUND_OBJECT_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BOUND_OBJECT_H_ 6 #define CONTENT_BROWSER_ANDROID_JAVA_JAVA_BOUND_OBJECT_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/android/jni_weak_ref.h" 12 #include "base/android/jni_weak_ref.h"
13 #include "base/android/scoped_java_ref.h" 13 #include "base/android/scoped_java_ref.h"
14 #include "base/memory/linked_ptr.h" 14 #include "base/memory/linked_ptr.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "content/browser/renderer_host/java/java_method.h" 16 #include "content/browser/android/java/java_method.h"
17 #include "third_party/npapi/bindings/npruntime.h" 17 #include "third_party/npapi/bindings/npruntime.h"
18 18
19 namespace content { 19 namespace content {
20 20
21 class JavaBridgeDispatcherHostManager; 21 class JavaBridgeDispatcherHostManager;
22 22
23 // Wrapper around a Java object. 23 // Wrapper around a Java object.
24 // 24 //
25 // Represents a Java object for use in the Java bridge. Holds a global ref to 25 // Represents a Java object for use in the Java bridge. Holds a global ref to
26 // the Java object and provides the ability to invoke methods on it. 26 // the Java object and provides the ability to invoke methods on it.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 mutable jmethodID object_get_class_method_id_; 86 mutable jmethodID object_get_class_method_id_;
87 const bool can_enumerate_methods_; 87 const bool can_enumerate_methods_;
88 88
89 base::android::ScopedJavaGlobalRef<jclass> safe_annotation_clazz_; 89 base::android::ScopedJavaGlobalRef<jclass> safe_annotation_clazz_;
90 90
91 DISALLOW_IMPLICIT_CONSTRUCTORS(JavaBoundObject); 91 DISALLOW_IMPLICIT_CONSTRUCTORS(JavaBoundObject);
92 }; 92 };
93 93
94 } // namespace content 94 } // namespace content
95 95
96 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BOUND_OBJECT_H_ 96 #endif // CONTENT_BROWSER_ANDROID_JAVA_JAVA_BOUND_OBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698