| 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_MODEL_H_ | 5 #ifndef CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_ |
| 6 #define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_ | 6 #define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 10 | 12 |
| 11 namespace base { | 13 namespace base { |
| 12 class CommandLine; | 14 class CommandLine; |
| 13 } | 15 } |
| 14 | 16 |
| 15 namespace diagnostics { | 17 namespace diagnostics { |
| 16 | 18 |
| 17 // The chrome diagnostics system is a model-view-controller system. The Model | 19 // The chrome diagnostics system is a model-view-controller system. The Model |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 virtual bool GetTestInfo(int id, const TestInfo** result) const = 0; | 102 virtual bool GetTestInfo(int id, const TestInfo** result) const = 0; |
| 101 }; | 103 }; |
| 102 | 104 |
| 103 // The factory for the model. The main purpose is to hide the creation of | 105 // The factory for the model. The main purpose is to hide the creation of |
| 104 // different models for different platforms. | 106 // different models for different platforms. |
| 105 DiagnosticsModel* MakeDiagnosticsModel(const base::CommandLine& cmdline); | 107 DiagnosticsModel* MakeDiagnosticsModel(const base::CommandLine& cmdline); |
| 106 | 108 |
| 107 } // namespace diagnostics | 109 } // namespace diagnostics |
| 108 | 110 |
| 109 #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_ | 111 #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_ |
| OLD | NEW |