summaryrefslogtreecommitdiffstats
path: root/chrome/browser/diagnostics/diagnostics_model.h
diff options
context:
space:
mode:
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 20:40:11 +0000
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 20:40:11 +0000
commitba5b708872a57b644f0339f1894e35a4330588c0 (patch)
treeb6aa1a3be023b025ce5249251a212e840ff512c3 /chrome/browser/diagnostics/diagnostics_model.h
parentbd48c2b0bdcbb600bd428229c54cbefec46c5014 (diff)
downloadchromium_src-ba5b708872a57b644f0339f1894e35a4330588c0.zip
chromium_src-ba5b708872a57b644f0339f1894e35a4330588c0.tar.gz
chromium_src-ba5b708872a57b644f0339f1894e35a4330588c0.tar.bz2
Allow specifiying a different user-data-dir for diagnostic mode
- Polish the db tests a little bit, now there are critical and non-critical and it handles better is chrome is already running BUG=27885 TEST=none Review URL: http://codereview.chromium.org/1540027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44122 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/diagnostics/diagnostics_model.h')
-rw-r--r--chrome/browser/diagnostics/diagnostics_model.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/diagnostics/diagnostics_model.h b/chrome/browser/diagnostics/diagnostics_model.h
index bb977ef..42d259c 100644
--- a/chrome/browser/diagnostics/diagnostics_model.h
+++ b/chrome/browser/diagnostics/diagnostics_model.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,10 +7,12 @@
#include "base/string16.h"
+class CommandLine;
+
// 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 quering the outcome.
-// TODO (CPU): The view and the controller are not yet built.
+// TODO(cpu): The view and the controller are not yet built.
class DiagnosticsModel {
public:
// A particular test can be in one of the following states.
@@ -69,7 +71,7 @@ class DiagnosticsModel {
// The factory for the model. The main purpose is to hide the creation of
// different models for different platforms.
-DiagnosticsModel* MakeDiagnosticsModel();
+DiagnosticsModel* MakeDiagnosticsModel(const CommandLine& cmdline);
#endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_