OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <string> | 7 #include <string> |
8 | 8 |
9 #include "app/app_paths.h" | |
10 #include "base/file_util.h" | 9 #include "base/file_util.h" |
11 #include "base/file_version_info.h" | 10 #include "base/file_version_info.h" |
12 #include "base/json/json_reader.h" | 11 #include "base/json/json_reader.h" |
13 #include "base/string_util.h" | 12 #include "base/string_util.h" |
14 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
15 #include "base/sys_info.h" | 14 #include "base/sys_info.h" |
16 #include "base/path_service.h" | 15 #include "base/path_service.h" |
17 #include "chrome/browser/diagnostics/diagnostics_test.h" | 16 #include "chrome/browser/diagnostics/diagnostics_test.h" |
18 #include "chrome/browser/platform_util.h" | 17 #include "chrome/browser/platform_util.h" |
19 #include "chrome/common/chrome_paths.h" | 18 #include "chrome/common/chrome_paths.h" |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 path = path.Append(chrome::kBookmarksFileName); | 356 path = path.Append(chrome::kBookmarksFileName); |
358 return new JSONTest(path, ASCIIToUTF16("BookMarks JSON"), 2 * kOneMeg); | 357 return new JSONTest(path, ASCIIToUTF16("BookMarks JSON"), 2 * kOneMeg); |
359 } | 358 } |
360 | 359 |
361 DiagnosticTest* MakeLocalStateTest() { | 360 DiagnosticTest* MakeLocalStateTest() { |
362 FilePath path; | 361 FilePath path; |
363 PathService::Get(chrome::DIR_USER_DATA, &path); | 362 PathService::Get(chrome::DIR_USER_DATA, &path); |
364 path = path.Append(chrome::kLocalStateFilename); | 363 path = path.Append(chrome::kLocalStateFilename); |
365 return new JSONTest(path, ASCIIToUTF16("Local State JSON"), 50 * kOneKilo); | 364 return new JSONTest(path, ASCIIToUTF16("Local State JSON"), 50 * kOneKilo); |
366 } | 365 } |
OLD | NEW |