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