summaryrefslogtreecommitdiffstats
path: root/chrome/browser/diagnostics/recon_diagnostics.h
blob: 114abd97e8fa66578264721fdd372a0b47613190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// Copyright (c) 2011 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.

#ifndef CHROME_BROWSER_DIAGNOSTICS_RECON_DIAGNOSTICS_H_
#define CHROME_BROWSER_DIAGNOSTICS_RECON_DIAGNOSTICS_H_

#include "chrome/browser/diagnostics/diagnostics_test.h"

namespace diagnostics {

enum OutcomeCodes {
  DIAG_RECON_SUCCESS,

  // OperatingSystemTest
  DIAG_RECON_PRE_WINDOW_XP_SP2,

  // ConflictingDllsTest
  DIAG_RECON_DICTIONARY_LOOKUP_FAILED,
  DIAG_RECON_NO_STATUS_FIELD,
  DIAG_RECON_NO_NAME_FIELD,
  DIAG_RECON_NO_LOCATION_FIELD,
  DIAG_RECON_CONFLICTING_MODULES,
  DIAG_RECON_NOT_IMPLEMENTED,

  // InstallTypeTest
  DIAG_RECON_INSTALL_PATH_PROVIDER,

  // VersionTest
  DIAG_RECON_NO_VERSION,
  DIAG_RECON_EMPTY_VERSION,

  // PathTest
  DIAG_RECON_DEPENDENCY,
  DIAG_RECON_PATH_PROVIDER,
  DIAG_RECON_PATH_NOT_FOUND,
  DIAG_RECON_CANNOT_OBTAIN_SIZE,
  DIAG_RECON_FILE_TOO_LARGE,
  DIAG_RECON_NOT_WRITABLE,

  // DiskSpaceTest
  DIAG_RECON_UNABLE_TO_QUERY,
  DIAG_RECON_LOW_DISK_SPACE,

  // JSONTest
  DIAG_RECON_FILE_NOT_FOUND,
  DIAG_RECON_FILE_NOT_FOUND_OK,
  DIAG_RECON_CANNOT_OBTAIN_FILE_SIZE,
  DIAG_RECON_FILE_TOO_BIG,
  DIAG_RECON_UNABLE_TO_OPEN_FILE,
  DIAG_RECON_PARSE_ERROR,
};

DiagnosticsTest* MakeBookMarksTest();
DiagnosticsTest* MakeConflictingDllsTest();
DiagnosticsTest* MakeDictonaryDirTest();
DiagnosticsTest* MakeDiskSpaceTest();
DiagnosticsTest* MakeInstallTypeTest();
DiagnosticsTest* MakeLocalStateFileTest();
DiagnosticsTest* MakeLocalStateTest();
DiagnosticsTest* MakeOperatingSystemTest();
DiagnosticsTest* MakePreferencesTest();
DiagnosticsTest* MakeResourcesFileTest();
DiagnosticsTest* MakeUserDirTest();
DiagnosticsTest* MakeVersionTest();

}  // namespace diagnostics

#endif  // CHROME_BROWSER_DIAGNOSTICS_RECON_DIAGNOSTICS_H_