OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/diagnostics/sqlite_diagnostics.h" | 5 #include "chrome/browser/diagnostics/sqlite_diagnostics.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram_macros.h" |
17 #include "base/path_service.h" | 17 #include "base/path_service.h" |
18 #include "base/strings/string_number_conversions.h" | 18 #include "base/strings/string_number_conversions.h" |
19 #include "base/strings/stringprintf.h" | 19 #include "base/strings/stringprintf.h" |
20 #include "base/strings/utf_string_conversions.h" | 20 #include "base/strings/utf_string_conversions.h" |
21 #include "build/build_config.h" | 21 #include "build/build_config.h" |
22 #include "chrome/common/chrome_constants.h" | 22 #include "chrome/common/chrome_constants.h" |
23 #include "chrome/common/chrome_paths.h" | 23 #include "chrome/common/chrome_paths.h" |
24 #include "chromeos/chromeos_constants.h" | 24 #include "chromeos/chromeos_constants.h" |
25 #include "components/history/core/browser/history_constants.h" | 25 #include "components/history/core/browser/history_constants.h" |
26 #include "components/webdata/common/webdata_constants.h" | 26 #include "components/webdata/common/webdata_constants.h" |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 base::FilePath(history::kTopSitesFilename)); | 257 base::FilePath(history::kTopSitesFilename)); |
258 } | 258 } |
259 | 259 |
260 DiagnosticsTest* MakeSqliteWebDataDbTest() { | 260 DiagnosticsTest* MakeSqliteWebDataDbTest() { |
261 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL, | 261 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL, |
262 DIAGNOSTICS_SQLITE_INTEGRITY_WEB_DATA_TEST, | 262 DIAGNOSTICS_SQLITE_INTEGRITY_WEB_DATA_TEST, |
263 base::FilePath(kWebDataFilename)); | 263 base::FilePath(kWebDataFilename)); |
264 } | 264 } |
265 | 265 |
266 } // namespace diagnostics | 266 } // namespace diagnostics |
OLD | NEW |