| 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 STORAGE_BROWSER_QUOTA_QUOTA_DATABASE_H_ | 5 #ifndef STORAGE_BROWSER_QUOTA_QUOTA_DATABASE_H_ |
| 6 #define STORAGE_BROWSER_QUOTA_QUOTA_DATABASE_H_ | 6 #define STORAGE_BROWSER_QUOTA_QUOTA_DATABASE_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 bool DumpQuotaTable(const QuotaTableCallback& callback); | 167 bool DumpQuotaTable(const QuotaTableCallback& callback); |
| 168 bool DumpOriginInfoTable(const OriginInfoTableCallback& callback); | 168 bool DumpOriginInfoTable(const OriginInfoTableCallback& callback); |
| 169 | 169 |
| 170 base::FilePath db_file_path_; | 170 base::FilePath db_file_path_; |
| 171 | 171 |
| 172 scoped_ptr<sql::Connection> db_; | 172 scoped_ptr<sql::Connection> db_; |
| 173 scoped_ptr<sql::MetaTable> meta_table_; | 173 scoped_ptr<sql::MetaTable> meta_table_; |
| 174 bool is_recreating_; | 174 bool is_recreating_; |
| 175 bool is_disabled_; | 175 bool is_disabled_; |
| 176 | 176 |
| 177 base::OneShotTimer<QuotaDatabase> timer_; | 177 base::OneShotTimer timer_; |
| 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 storage | 188 } // namespace storage |
| 189 | 189 |
| 190 #endif // STORAGE_BROWSER_QUOTA_QUOTA_DATABASE_H_ | 190 #endif // STORAGE_BROWSER_QUOTA_QUOTA_DATABASE_H_ |
| OLD | NEW |