| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ | 5 #ifndef CONTENT_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ |
| 6 #define CONTENT_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ | 6 #define CONTENT_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ |
| 7 | 7 |
| 8 #include "base/callback_old.h" | 8 #include "base/callback_old.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "webkit/quota/quota_types.h" | 10 #include "webkit/quota/quota_types.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 virtual void RequestQuotaPermission( | 25 virtual void RequestQuotaPermission( |
| 26 const GURL& origin_url, | 26 const GURL& origin_url, |
| 27 quota::StorageType type, | 27 quota::StorageType type, |
| 28 int64 new_quota, | 28 int64 new_quota, |
| 29 int render_process_id, | 29 int render_process_id, |
| 30 int render_view_id, | 30 int render_view_id, |
| 31 PermissionCallback* callback) = 0; | 31 PermissionCallback* callback) = 0; |
| 32 | 32 |
| 33 protected: | 33 protected: |
| 34 friend class base::RefCountedThreadSafe<QuotaPermissionContext>; | 34 friend class base::RefCountedThreadSafe<QuotaPermissionContext>; |
| 35 ~QuotaPermissionContext() {} | 35 virtual ~QuotaPermissionContext() {} |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 #endif // CONTENT_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ | 38 #endif // CONTENT_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ |
| OLD | NEW |