OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_WRITER_H_ | 5 #ifndef CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_WRITER_H_ |
6 #define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_WRITER_H_ | 6 #define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_WRITER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/diagnostics/diagnostics_model.h" | 10 #include "chrome/browser/diagnostics/diagnostics_model.h" |
11 | 11 |
12 namespace diagnostics { | 12 namespace diagnostics { |
13 | 13 |
14 // Console base class used internally. | 14 // Console base class used internally. |
15 class SimpleConsole; | 15 class SimpleConsole; |
16 | 16 |
17 class DiagnosticsWriter : public DiagnosticsModel::Observer { | 17 class DiagnosticsWriter : public DiagnosticsModel::Observer { |
18 public: | 18 public: |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // Keeps track of how many tests reported failure. | 59 // Keeps track of how many tests reported failure. |
60 int failures_; | 60 int failures_; |
61 FormatType format_; | 61 FormatType format_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(DiagnosticsWriter); | 63 DISALLOW_COPY_AND_ASSIGN(DiagnosticsWriter); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace diagnostics | 66 } // namespace diagnostics |
67 | 67 |
68 #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_WRITER_H_ | 68 #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_WRITER_H_ |
OLD | NEW |