// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_ #define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_ #include <stddef.h> #include <string> #include "base/time/time.h" namespace base { class CommandLine; } namespace diagnostics { // The chrome diagnostics system is a model-view-controller system. The Model // responsible for holding and running the individual tests and providing a // uniform interface for querying the outcome. class DiagnosticsModel { … }; // The factory for the model. The main purpose is to hide the creation of // different models for different platforms. DiagnosticsModel* MakeDiagnosticsModel(const base::CommandLine& cmdline); } // namespace diagnostics #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_