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

Side by Side Diff: webkit/quota/quota_client.h

Issue 7039006: Implement GetUsageAndQuotaForEviction in QuotaManager. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Added a TODO. 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
« no previous file with comments | « no previous file | webkit/quota/quota_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_QUOTA_QUOTA_CLIENT_H_ 5 #ifndef WEBKIT_QUOTA_QUOTA_CLIENT_H_
6 #define WEBKIT_QUOTA_QUOTA_CLIENT_H_ 6 #define WEBKIT_QUOTA_QUOTA_CLIENT_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 virtual void GetOriginsForHost(StorageType type, 59 virtual void GetOriginsForHost(StorageType type,
60 const std::string& host, 60 const std::string& host,
61 GetOriginsCallback* callback) = 0; 61 GetOriginsCallback* callback) = 0;
62 62
63 // Called by the QuotaManager. 63 // Called by the QuotaManager.
64 virtual void DeleteOriginData(const GURL& origin, 64 virtual void DeleteOriginData(const GURL& origin,
65 StorageType type, 65 StorageType type,
66 DeletionCallback* callback) = 0; 66 DeletionCallback* callback) = 0;
67 }; 67 };
68 68
69 // TODO(dmikurube): Replace it to std::vector for efficiency.
69 typedef std::list<QuotaClient*> QuotaClientList; 70 typedef std::list<QuotaClient*> QuotaClientList;
70 71
71 } // namespace quota 72 } // namespace quota
72 73
73 #endif // WEBKIT_QUOTA_QUOTA_CLIENT_H_ 74 #endif // WEBKIT_QUOTA_QUOTA_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/quota/quota_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698