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 #include "sql/recovery.h" | 5 #include "sql/recovery.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
8 #include "base/format_macros.h" | 10 #include "base/format_macros.h" |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
10 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
11 #include "base/metrics/sparse_histogram.h" | 13 #include "base/metrics/sparse_histogram.h" |
12 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
13 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
14 #include "sql/connection.h" | 16 #include "sql/connection.h" |
15 #include "sql/statement.h" | 17 #include "sql/statement.h" |
16 #include "third_party/sqlite/sqlite3.h" | 18 #include "third_party/sqlite/sqlite3.h" |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 } | 527 } |
526 return false; | 528 return false; |
527 } | 529 } |
528 | 530 |
529 RecordRecoveryEvent(RECOVERY_SUCCESS_META_VERSION); | 531 RecordRecoveryEvent(RECOVERY_SUCCESS_META_VERSION); |
530 *version = recovery_version.ColumnInt(0); | 532 *version = recovery_version.ColumnInt(0); |
531 return true; | 533 return true; |
532 } | 534 } |
533 | 535 |
534 } // namespace sql | 536 } // namespace sql |
OLD | NEW |