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/recon_diagnostics.h" | 5 #include "chrome/browser/diagnostics/recon_diagnostics.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
24 #include "chrome/browser/diagnostics/diagnostics_test.h" | 24 #include "chrome/browser/diagnostics/diagnostics_test.h" |
25 #include "chrome/common/channel_info.h" | 25 #include "chrome/common/channel_info.h" |
26 #include "chrome/common/chrome_constants.h" | 26 #include "chrome/common/chrome_constants.h" |
27 #include "chrome/common/chrome_paths.h" | 27 #include "chrome/common/chrome_paths.h" |
28 #include "components/bookmarks/common/bookmark_constants.h" | 28 #include "components/bookmarks/common/bookmark_constants.h" |
29 #include "components/version_info/version_info.h" | 29 #include "components/version_info/version_info.h" |
30 | 30 |
31 #if defined(OS_WIN) | 31 #if defined(OS_WIN) |
32 #include "base/win/windows_version.h" | 32 #include "base/win/windows_version.h" |
33 #include "chrome/browser/enumerate_modules_model_win.h" | 33 #include "chrome/browser/win/enumerate_modules_model.h" |
34 #include "chrome/installer/util/install_util.h" | 34 #include "chrome/installer/util/install_util.h" |
35 #endif | 35 #endif |
36 | 36 |
37 // Reconnaissance diagnostics. These are the first and most critical | 37 // Reconnaissance diagnostics. These are the first and most critical |
38 // diagnostic tests. Here we check for the existence of critical files. | 38 // diagnostic tests. Here we check for the existence of critical files. |
39 // TODO(cpu): Define if it makes sense to localize strings. | 39 // TODO(cpu): Define if it makes sense to localize strings. |
40 | 40 |
41 // TODO(cpu): There are a few maximum file sizes hard-coded in this file | 41 // TODO(cpu): There are a few maximum file sizes hard-coded in this file |
42 // that have little or no theoretical or experimental ground. Find a way | 42 // that have little or no theoretical or experimental ground. Find a way |
43 // to justify them. | 43 // to justify them. |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 | 433 |
434 DiagnosticsTest* MakeResourcesFileTest() { | 434 DiagnosticsTest* MakeResourcesFileTest() { |
435 return new PathTest(kPathsToTest[2]); | 435 return new PathTest(kPathsToTest[2]); |
436 } | 436 } |
437 | 437 |
438 DiagnosticsTest* MakeUserDirTest() { return new PathTest(kPathsToTest[3]); } | 438 DiagnosticsTest* MakeUserDirTest() { return new PathTest(kPathsToTest[3]); } |
439 | 439 |
440 DiagnosticsTest* MakeVersionTest() { return new VersionTest(); } | 440 DiagnosticsTest* MakeVersionTest() { return new VersionTest(); } |
441 | 441 |
442 } // namespace diagnostics | 442 } // namespace diagnostics |
OLD | NEW |