OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| 11 #include "build/build_config.h" |
11 #include "chrome/common/chrome_constants.h" | 12 #include "chrome/common/chrome_constants.h" |
12 #include "chrome/common/chrome_paths.h" | 13 #include "chrome/common/chrome_paths.h" |
13 | 14 |
14 namespace diagnostics { | 15 namespace diagnostics { |
15 | 16 |
16 DiagnosticsTest::DiagnosticsTest(DiagnosticsTestId id) | 17 DiagnosticsTest::DiagnosticsTest(DiagnosticsTestId id) |
17 : id_(id), outcome_code_(-1), result_(DiagnosticsModel::TEST_NOT_RUN) {} | 18 : id_(id), outcome_code_(-1), result_(DiagnosticsModel::TEST_NOT_RUN) {} |
18 | 19 |
19 DiagnosticsTest::~DiagnosticsTest() {} | 20 DiagnosticsTest::~DiagnosticsTest() {} |
20 | 21 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 103 |
103 base::Time DiagnosticsTest::GetStartTime() const { return start_time_; } | 104 base::Time DiagnosticsTest::GetStartTime() const { return start_time_; } |
104 | 105 |
105 base::Time DiagnosticsTest::GetEndTime() const { return end_time_; } | 106 base::Time DiagnosticsTest::GetEndTime() const { return end_time_; } |
106 | 107 |
107 bool DiagnosticsTest::RecoveryImpl(DiagnosticsModel::Observer* observer) { | 108 bool DiagnosticsTest::RecoveryImpl(DiagnosticsModel::Observer* observer) { |
108 return true; | 109 return true; |
109 } | 110 } |
110 | 111 |
111 } // namespace diagnostics | 112 } // namespace diagnostics |
OLD | NEW |