| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_ |
| 6 #define ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "android_webview/browser/aw_quota_manager_bridge.h" | 14 #include "android_webview/browser/aw_quota_manager_bridge.h" |
| 15 #include "base/android/jni_weak_ref.h" | 15 #include "base/android/jni_weak_ref.h" |
| 16 #include "base/callback.h" | 16 #include "base/callback.h" |
| 17 #include "base/macros.h" | 17 #include "base/macros.h" |
| 18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
| 19 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
| 20 #include "base/strings/string16.h" | 20 #include "base/strings/string16.h" |
| 21 | 21 |
| 22 class GURL; | |
| 23 | |
| 24 namespace content { | 22 namespace content { |
| 25 class StoragePartition; | 23 class StoragePartition; |
| 26 } | 24 } |
| 27 | 25 |
| 28 namespace storage { | 26 namespace storage { |
| 29 class QuotaManager; | 27 class QuotaManager; |
| 30 } // namespace storage | 28 } // namespace storage |
| 31 | 29 |
| 32 namespace android_webview { | 30 namespace android_webview { |
| 33 | 31 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 base::WeakPtrFactory<AwQuotaManagerBridgeImpl> weak_factory_; | 90 base::WeakPtrFactory<AwQuotaManagerBridgeImpl> weak_factory_; |
| 93 | 91 |
| 94 DISALLOW_COPY_AND_ASSIGN(AwQuotaManagerBridgeImpl); | 92 DISALLOW_COPY_AND_ASSIGN(AwQuotaManagerBridgeImpl); |
| 95 }; | 93 }; |
| 96 | 94 |
| 97 bool RegisterAwQuotaManagerBridge(JNIEnv* env); | 95 bool RegisterAwQuotaManagerBridge(JNIEnv* env); |
| 98 | 96 |
| 99 } // namespace android_webview | 97 } // namespace android_webview |
| 100 | 98 |
| 101 #endif // ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_ | 99 #endif // ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_ |
| OLD | NEW |