Chromium Code Reviews| Index: content/public/browser/indexed_db_context.h |
| diff --git a/content/public/browser/indexed_db_context.h b/content/public/browser/indexed_db_context.h |
| index 9d87444f09209a2d7c847b8997c0a1db7b85e996..5bba28a9c0be29face7f55c15acc5336ef13e070 100644 |
| --- a/content/public/browser/indexed_db_context.h |
| +++ b/content/public/browser/indexed_db_context.h |
| @@ -8,23 +8,28 @@ |
| #include <vector> |
| #include "base/basictypes.h" |
| +#include "base/files/file_path.h" |
|
michaeln
2013/04/10 00:47:26
is this one needed?
alecflett
2013/04/10 17:17:17
It is actually - it was implicitly included before
|
| #include "base/memory/ref_counted.h" |
| +#include "base/time.h" |
| #include "content/common/content_export.h" |
| - |
| -class GURL; |
| - |
| -namespace base { |
| -class Time; |
| -} |
| +#include "googleurl/src/gurl.h" |
| namespace content { |
| +struct IndexedDBInfo { |
| + GURL origin; |
| + int64 size; |
| + base::Time last_modified; |
| +}; |
| + |
| // Represents the per-BrowserContext IndexedDB data. |
| // Call these methods only on the WebKit thread. |
| class IndexedDBContext : public base::RefCountedThreadSafe<IndexedDBContext> { |
| public: |
| + |
| // Methods used in response to QuotaManager requests. |
| virtual std::vector<GURL> GetAllOrigins() = 0; |
| + virtual std::vector<IndexedDBInfo> GetAllOriginsInfo() = 0; |
| virtual int64 GetOriginDiskUsage(const GURL& origin_url) = 0; |
| virtual base::Time GetOriginLastModified(const GURL& origin_url) = 0; |