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

Side by Side Diff: webkit/database/database_quota_client.h

Issue 7046019: Implement DatabaseQuotaClient's DeteleteOriginData method. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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) 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 WEBKIT_DATABASE_DATABASE_QUOTA_CLIENT_H_ 5 #ifndef WEBKIT_DATABASE_DATABASE_QUOTA_CLIENT_H_
6 #define WEBKIT_DATABASE_DATABASE_QUOTA_CLIENT_H_ 6 #define WEBKIT_DATABASE_DATABASE_QUOTA_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 GetOriginsCallback* callback) OVERRIDE; 42 GetOriginsCallback* callback) OVERRIDE;
43 virtual void DeleteOriginData(const GURL& origin, 43 virtual void DeleteOriginData(const GURL& origin,
44 quota::StorageType type, 44 quota::StorageType type,
45 DeletionCallback* callback) OVERRIDE; 45 DeletionCallback* callback) OVERRIDE;
46 private: 46 private:
47 class HelperTask; 47 class HelperTask;
48 class GetOriginUsageTask; 48 class GetOriginUsageTask;
49 class GetOriginsTaskBase; 49 class GetOriginsTaskBase;
50 class GetAllOriginsTask; 50 class GetAllOriginsTask;
51 class GetOriginsForHostTask; 51 class GetOriginsForHostTask;
52 class DeleteOriginTask;
52 53
53 typedef quota::CallbackQueueMap1 54 typedef quota::CallbackQueueMap1
54 <GetUsageCallback*, 55 <GetUsageCallback*,
55 GURL, // origin 56 GURL, // origin
56 int64 57 int64
57 > UsageForOriginCallbackMap; 58 > UsageForOriginCallbackMap;
58 typedef quota::CallbackQueue1 59 typedef quota::CallbackQueue1
59 <GetOriginsCallback*, 60 <GetOriginsCallback*,
60 const std::set<GURL>& 61 const std::set<GURL>&
61 > OriginsForTypeCallbackQueue; 62 > OriginsForTypeCallbackQueue;
(...skipping 13 matching lines...) Expand all
75 UsageForOriginCallbackMap usage_for_origin_callbacks_; 76 UsageForOriginCallbackMap usage_for_origin_callbacks_;
76 OriginsForTypeCallbackQueue origins_for_type_callbacks_; 77 OriginsForTypeCallbackQueue origins_for_type_callbacks_;
77 OriginsForHostCallbackMap origins_for_host_callbacks_; 78 OriginsForHostCallbackMap origins_for_host_callbacks_;
78 79
79 DISALLOW_COPY_AND_ASSIGN(DatabaseQuotaClient); 80 DISALLOW_COPY_AND_ASSIGN(DatabaseQuotaClient);
80 }; 81 };
81 82
82 } // namespace webkit_database 83 } // namespace webkit_database
83 84
84 #endif // WEBKIT_DATABASE_DATABASE_QUOTA_CLIENT_H_ 85 #endif // WEBKIT_DATABASE_DATABASE_QUOTA_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/database/database_quota_client.cc » ('j') | webkit/database/database_quota_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698