Android WebView: post QuotaManager calls to UI thread.
The AwQuotaManagerBridge needs to be usable from any thread, not just
the UI thread. Make it refcounted and have its methods post to the UI
thread if not already there. Since none of the methods are synchronous
there's no need to wait for the posted messages to be handled.
BUG=305205
[email protected]
Review URL: https://codereview.chromium.org/26477002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227508 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/android_webview/browser/aw_quota_manager_bridge.cc b/android_webview/browser/aw_quota_manager_bridge.cc
index 4a87cd6..ad2f3e0 100644
--- a/android_webview/browser/aw_quota_manager_bridge.cc
+++ b/android_webview/browser/aw_quota_manager_bridge.cc
@@ -5,5 +5,9 @@
#include "android_webview/browser/aw_quota_manager_bridge.h"
namespace android_webview {
+
+AwQuotaManagerBridge::AwQuotaManagerBridge() {}
+
AwQuotaManagerBridge::~AwQuotaManagerBridge() {}
+
} // namespace android_webview