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 SQL_RECOVERY_H_ | 5 #ifndef SQL_RECOVERY_H_ |
6 #define SQL_RECOVERY_H_ | 6 #define SQL_RECOVERY_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 | |
10 #include "sql/connection.h" | 9 #include "sql/connection.h" |
11 | 10 |
12 namespace base { | 11 namespace base { |
13 class FilePath; | 12 class FilePath; |
14 } | 13 } |
15 | 14 |
16 namespace sql { | 15 namespace sql { |
17 | 16 |
18 // Recovery module for sql/. The basic idea is to create a fresh | 17 // Recovery module for sql/. The basic idea is to create a fresh |
19 // database and populate it with the recovered contents of the | 18 // database and populate it with the recovered contents of the |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 171 |
173 Connection* db_; // Original database connection. | 172 Connection* db_; // Original database connection. |
174 Connection recover_db_; // Recovery connection. | 173 Connection recover_db_; // Recovery connection. |
175 | 174 |
176 DISALLOW_COPY_AND_ASSIGN(Recovery); | 175 DISALLOW_COPY_AND_ASSIGN(Recovery); |
177 }; | 176 }; |
178 | 177 |
179 } // namespace sql | 178 } // namespace sql |
180 | 179 |
181 #endif // SQL_RECOVERY_H_ | 180 #endif // SQL_RECOVERY_H_ |
OLD | NEW |