| 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_BROWER_IN_PROCESS_WEBKIT_QUOTA_CLIENT_H_ | 5 #ifndef CONTENT_BROWER_IN_PROCESS_WEBKIT_QUOTA_CLIENT_H_ |
| 6 #define CONTENT_BROWER_IN_PROCESS_WEBKIT_QUOTA_CLIENT_H_ | 6 #define CONTENT_BROWER_IN_PROCESS_WEBKIT_QUOTA_CLIENT_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 GetOriginsCallback* callback) OVERRIDE; | 40 GetOriginsCallback* callback) OVERRIDE; |
| 41 virtual void DeleteOriginData(const GURL& origin, | 41 virtual void DeleteOriginData(const GURL& origin, |
| 42 quota::StorageType type, | 42 quota::StorageType type, |
| 43 DeletionCallback* callback) OVERRIDE; | 43 DeletionCallback* callback) OVERRIDE; |
| 44 private: | 44 private: |
| 45 class HelperTask; | 45 class HelperTask; |
| 46 class GetOriginUsageTask; | 46 class GetOriginUsageTask; |
| 47 class GetOriginsTaskBase; | 47 class GetOriginsTaskBase; |
| 48 class GetAllOriginsTask; | 48 class GetAllOriginsTask; |
| 49 class GetOriginsForHostTask; | 49 class GetOriginsForHostTask; |
| 50 class DeleteOriginTask; |
| 50 | 51 |
| 51 typedef quota::CallbackQueueMap1 | 52 typedef quota::CallbackQueueMap1 |
| 52 <GetUsageCallback*, | 53 <GetUsageCallback*, |
| 53 GURL, // origin | 54 GURL, // origin |
| 54 int64 | 55 int64 |
| 55 > UsageForOriginCallbackMap; | 56 > UsageForOriginCallbackMap; |
| 56 typedef quota::CallbackQueue1 | 57 typedef quota::CallbackQueue1 |
| 57 <GetOriginsCallback*, | 58 <GetOriginsCallback*, |
| 58 const std::set<GURL>& | 59 const std::set<GURL>& |
| 59 > OriginsForTypeCallbackQueue; | 60 > OriginsForTypeCallbackQueue; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 71 scoped_refptr<base::MessageLoopProxy> webkit_thread_message_loop_; | 72 scoped_refptr<base::MessageLoopProxy> webkit_thread_message_loop_; |
| 72 scoped_refptr<IndexedDBContext> indexed_db_context_; | 73 scoped_refptr<IndexedDBContext> indexed_db_context_; |
| 73 UsageForOriginCallbackMap usage_for_origin_callbacks_; | 74 UsageForOriginCallbackMap usage_for_origin_callbacks_; |
| 74 OriginsForTypeCallbackQueue origins_for_type_callbacks_; | 75 OriginsForTypeCallbackQueue origins_for_type_callbacks_; |
| 75 OriginsForHostCallbackMap origins_for_host_callbacks_; | 76 OriginsForHostCallbackMap origins_for_host_callbacks_; |
| 76 | 77 |
| 77 DISALLOW_COPY_AND_ASSIGN(IndexedDBQuotaClient); | 78 DISALLOW_COPY_AND_ASSIGN(IndexedDBQuotaClient); |
| 78 }; | 79 }; |
| 79 | 80 |
| 80 #endif // CONTENT_BROWER_IN_PROCESS_WEBKIT_QUOTA_CLIENT_H_ | 81 #endif // CONTENT_BROWER_IN_PROCESS_WEBKIT_QUOTA_CLIENT_H_ |
| OLD | NEW |