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 #ifndef ANDROID_WEBVIEW_NATIVE_PERMISSION_AW_PERMISSION_REQUEST_H | 5 #ifndef ANDROID_WEBVIEW_BROWSER_PERMISSION_AW_PERMISSION_REQUEST_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_PERMISSION_AW_PERMISSION_REQUEST_H | 6 #define ANDROID_WEBVIEW_BROWSER_PERMISSION_AW_PERMISSION_REQUEST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
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/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
15 | 15 |
16 namespace android_webview { | 16 namespace android_webview { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 JavaObjectWeakGlobalRef java_ref_; | 75 JavaObjectWeakGlobalRef java_ref_; |
76 | 76 |
77 bool processed_; | 77 bool processed_; |
78 base::WeakPtrFactory<AwPermissionRequest> weak_factory_; | 78 base::WeakPtrFactory<AwPermissionRequest> weak_factory_; |
79 | 79 |
80 DISALLOW_COPY_AND_ASSIGN(AwPermissionRequest); | 80 DISALLOW_COPY_AND_ASSIGN(AwPermissionRequest); |
81 }; | 81 }; |
82 | 82 |
83 bool RegisterAwPermissionRequest(JNIEnv* env); | 83 bool RegisterAwPermissionRequest(JNIEnv* env); |
84 | 84 |
85 } // namespace android_webivew | 85 } // namespace android_webview |
86 | 86 |
87 #endif // ANDROID_WEBVIEW_NATIVE_PERMISSION_AW_PERMISSION_REQUEST_H | 87 #endif // ANDROID_WEBVIEW_BROWSER_PERMISSION_AW_PERMISSION_REQUEST_H_ |
OLD | NEW |