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 #ifndef CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_TEST_H_ | 5 #ifndef CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_TEST_H_ |
6 #define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_TEST_H_ | 6 #define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_TEST_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "chrome/browser/diagnostics/diagnostics_model.h" | 10 #include "chrome/browser/diagnostics/diagnostics_model.h" |
11 | 11 |
12 namespace base { | 12 namespace base { |
13 class FilePath; | 13 class FilePath; |
14 } | 14 } |
15 | 15 |
16 // Represents a single diagnostic test and encapsulates the common | 16 // Represents a single diagnostic test and encapsulates the common |
17 // functionality across platforms as well. | 17 // functionality across platforms as well. |
18 // It also Implements the TestInfo interface providing the storage | 18 // It also Implements the TestInfo interface providing the storage |
19 // for the outcome of the test. | 19 // for the outcome of the test. |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 virtual int GetId() = 0; | 65 virtual int GetId() = 0; |
66 // Derived classes override this method do perform the actual test. | 66 // Derived classes override this method do perform the actual test. |
67 virtual bool ExecuteImpl(DiagnosticsModel::Observer* observer) = 0; | 67 virtual bool ExecuteImpl(DiagnosticsModel::Observer* observer) = 0; |
68 | 68 |
69 string16 title_; | 69 string16 title_; |
70 string16 additional_info_; | 70 string16 additional_info_; |
71 DiagnosticsModel::TestResult result_; | 71 DiagnosticsModel::TestResult result_; |
72 }; | 72 }; |
73 | 73 |
74 #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_TEST_H_ | 74 #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_TEST_H_ |
OLD | NEW |