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 WEBKIT_QUOTA_QUOTA_DATABASE_H_ | 5 #ifndef WEBKIT_QUOTA_QUOTA_DATABASE_H_ |
6 #define WEBKIT_QUOTA_QUOTA_DATABASE_H_ | 6 #define WEBKIT_QUOTA_QUOTA_DATABASE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/time.h" | 16 #include "base/time.h" |
17 #include "base/timer.h" | 17 #include "base/timer.h" |
18 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
19 #include "webkit/quota/quota_types.h" | 19 #include "webkit/quota/quota_types.h" |
20 | 20 |
21 namespace sql { | 21 namespace sql { |
22 class Connection; | 22 class Connection; |
23 class MetaTable; | 23 class MetaTable; |
24 class Statement; | |
25 } | 24 } |
26 | 25 |
27 class GURL; | 26 class GURL; |
28 | 27 |
29 namespace quota { | 28 namespace quota { |
30 | 29 |
31 class SpecialStoragePolicy; | 30 class SpecialStoragePolicy; |
32 | 31 |
33 // All the methods of this class must run on the DB thread. | 32 // All the methods of this class must run on the DB thread. |
34 class QuotaDatabase { | 33 class QuotaDatabase { |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 176 |
178 static const TableSchema kTables[]; | 177 static const TableSchema kTables[]; |
179 static const IndexSchema kIndexes[]; | 178 static const IndexSchema kIndexes[]; |
180 | 179 |
181 DISALLOW_COPY_AND_ASSIGN(QuotaDatabase); | 180 DISALLOW_COPY_AND_ASSIGN(QuotaDatabase); |
182 }; | 181 }; |
183 | 182 |
184 } // namespace quota | 183 } // namespace quota |
185 | 184 |
186 #endif // WEBKIT_QUOTA_QUOTA_DATABASE_H_ | 185 #endif // WEBKIT_QUOTA_QUOTA_DATABASE_H_ |
OLD | NEW |