| 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_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_ |
| OLD | NEW |