OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_QUOTA_QUOTA_DATABASE_H_ | 5 #ifndef WEBKIT_BROWSER_QUOTA_QUOTA_DATABASE_H_ |
6 #define WEBKIT_BROWSER_QUOTA_QUOTA_DATABASE_H_ | 6 #define WEBKIT_BROWSER_QUOTA_QUOTA_DATABASE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 class QuotaDatabaseTest; | 23 class QuotaDatabaseTest; |
24 } | 24 } |
25 | 25 |
26 namespace sql { | 26 namespace sql { |
27 class Connection; | 27 class Connection; |
28 class MetaTable; | 28 class MetaTable; |
29 } | 29 } |
30 | 30 |
31 class GURL; | 31 class GURL; |
32 | 32 |
33 namespace quota { | 33 namespace storage { |
34 | 34 |
35 class SpecialStoragePolicy; | 35 class SpecialStoragePolicy; |
36 | 36 |
37 // All the methods of this class must run on the DB thread. | 37 // All the methods of this class must run on the DB thread. |
38 class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE QuotaDatabase { | 38 class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE QuotaDatabase { |
39 public: | 39 public: |
40 // Constants for {Get,Set}QuotaConfigValue keys. | 40 // Constants for {Get,Set}QuotaConfigValue keys. |
41 static const char kDesiredAvailableSpaceKey[]; | 41 static const char kDesiredAvailableSpaceKey[]; |
42 static const char kTemporaryQuotaOverrideKey[]; | 42 static const char kTemporaryQuotaOverrideKey[]; |
43 | 43 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 178 |
179 friend class content::QuotaDatabaseTest; | 179 friend class content::QuotaDatabaseTest; |
180 friend class QuotaManager; | 180 friend class QuotaManager; |
181 | 181 |
182 static const TableSchema kTables[]; | 182 static const TableSchema kTables[]; |
183 static const IndexSchema kIndexes[]; | 183 static const IndexSchema kIndexes[]; |
184 | 184 |
185 DISALLOW_COPY_AND_ASSIGN(QuotaDatabase); | 185 DISALLOW_COPY_AND_ASSIGN(QuotaDatabase); |
186 }; | 186 }; |
187 | 187 |
188 } // namespace quota | 188 } // namespace storage |
189 | 189 |
190 #endif // WEBKIT_BROWSER_QUOTA_QUOTA_DATABASE_H_ | 190 #endif // WEBKIT_BROWSER_QUOTA_QUOTA_DATABASE_H_ |
OLD | NEW |