#include <vector>
#include "android_webview/browser/aw_quota_manager_bridge.h"
-#include "base/android/jni_helper.h"
+#include "base/android/jni_weak_ref.h"
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/memory/ref_counted.h"
class StoragePartition;
}
-namespace quota {
+namespace storage {
class QuotaManager;
-} // namespace quota
+} // namespace storage
namespace android_webview {
content::StoragePartition* GetStoragePartition() const;
- quota::QuotaManager* GetQuotaManager() const;
+ storage::QuotaManager* GetQuotaManager() const;
void DeleteAllDataOnUiThread();
void DeleteOriginOnUiThread(const base::string16& origin);
void QuotaUsageCallbackImpl(
int jcallback_id, bool is_quota, int64 usage, int64 quota);
- base::WeakPtrFactory<AwQuotaManagerBridgeImpl> weak_factory_;
AwBrowserContext* browser_context_;
JavaObjectWeakGlobalRef java_ref_;
+ base::WeakPtrFactory<AwQuotaManagerBridgeImpl> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(AwQuotaManagerBridgeImpl);
};