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/diagnostics_test.h" | 5 #include "chrome/browser/diagnostics/diagnostics_test.h" |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "chrome/common/chrome_constants.h" | 9 #include "chrome/common/chrome_constants.h" |
10 #include "chrome/common/chrome_paths.h" | 10 #include "chrome/common/chrome_paths.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 DiagnosticsModel::TestResult result) { | 42 DiagnosticsModel::TestResult result) { |
43 additional_info_ = additional_info; | 43 additional_info_ = additional_info; |
44 result_ = result; | 44 result_ = result; |
45 } | 45 } |
46 | 46 |
47 // static | 47 // static |
48 FilePath DiagnosticTest::GetUserDefaultProfileDir() { | 48 FilePath DiagnosticTest::GetUserDefaultProfileDir() { |
49 FilePath path; | 49 FilePath path; |
50 if (!PathService::Get(chrome::DIR_USER_DATA, &path)) | 50 if (!PathService::Get(chrome::DIR_USER_DATA, &path)) |
51 return FilePath(); | 51 return FilePath(); |
52 return path.AppendASCII(chrome::kNotSignedInProfile); | 52 return path.AppendASCII(chrome::kInitialProfile); |
53 } | 53 } |
OLD | NEW |