OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/callback.h" | 8 #include "base/callback.h" |
10 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
11 #include "webkit/quota/quota_types.h" | 10 #include "webkit/quota/quota_types.h" |
12 | 11 |
13 class GURL; | 12 class GURL; |
14 | 13 |
15 namespace content { | 14 namespace content { |
16 | 15 |
17 class QuotaPermissionContext | 16 class QuotaPermissionContext |
(...skipping 17 matching lines...) Expand all Loading... |
35 const PermissionCallback& callback) = 0; | 34 const PermissionCallback& callback) = 0; |
36 | 35 |
37 protected: | 36 protected: |
38 friend class base::RefCountedThreadSafe<QuotaPermissionContext>; | 37 friend class base::RefCountedThreadSafe<QuotaPermissionContext>; |
39 virtual ~QuotaPermissionContext() {} | 38 virtual ~QuotaPermissionContext() {} |
40 }; | 39 }; |
41 | 40 |
42 } // namespace content | 41 } // namespace content |
43 | 42 |
44 #endif // CONTENT_PUBLIC_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ | 43 #endif // CONTENT_PUBLIC_BROWSER_QUOTA_PERMISSION_CONTEXT_H_ |
OLD | NEW |