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

Side by Side Diff: android_webview/browser/aw_quota_manager_bridge.h

Issue 26477002: Android WebView: post QuotaManager calls to UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix missing origin in url construction Created 7 years, 2 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) 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_BROWSER_AW_QUOTA_MANAGER_BRIDGE_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_QUOTA_MANAGER_BRIDGE_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_QUOTA_MANAGER_BRIDGE_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_QUOTA_MANAGER_BRIDGE_H_
7 7
8 #include "base/memory/ref_counted.h"
9
8 namespace android_webview { 10 namespace android_webview {
9 11
10 // Empty base class so this can be owned and destroyed by AwBrowserContext. 12 // Empty base class so this can be refcounted by AwBrowserContext.
11 class AwQuotaManagerBridge { 13 class AwQuotaManagerBridge :
12 public: 14 public base::RefCountedThreadSafe<AwQuotaManagerBridge> {
15 protected:
16 friend class base::RefCountedThreadSafe<AwQuotaManagerBridge>;
17 AwQuotaManagerBridge();
13 virtual ~AwQuotaManagerBridge(); 18 virtual ~AwQuotaManagerBridge();
14 }; 19 };
15 20
16 } // namespace android_webview 21 } // namespace android_webview
17 22
18 #endif // ANDROID_WEBVIEW_BROWSER_AW_QUOTA_MANAGER_BRIDGE_H_ 23 #endif // ANDROID_WEBVIEW_BROWSER_AW_QUOTA_MANAGER_BRIDGE_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_browser_context.cc ('k') | android_webview/browser/aw_quota_manager_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698