Home | History | Annotate | Download | only in diagnostics
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef CHROME_BROWSER_DIAGNOSTICS_RECON_DIAGNOSTICS_H_
      6 #define CHROME_BROWSER_DIAGNOSTICS_RECON_DIAGNOSTICS_H_
      7 
      8 #include "chrome/browser/diagnostics/diagnostics_test.h"
      9 
     10 namespace diagnostics {
     11 
     12 enum OutcomeCodes {
     13   DIAG_RECON_SUCCESS,
     14 
     15   // OperatingSystemTest
     16   DIAG_RECON_PRE_WINDOW_XP_SP2,
     17 
     18   // ConflictingDllsTest
     19   DIAG_RECON_DICTIONARY_LOOKUP_FAILED,
     20   DIAG_RECON_NO_STATUS_FIELD,
     21   DIAG_RECON_NO_NAME_FIELD,
     22   DIAG_RECON_NO_LOCATION_FIELD,
     23   DIAG_RECON_CONFLICTING_MODULES,
     24   DIAG_RECON_NOT_IMPLEMENTED,
     25 
     26   // InstallTypeTest
     27   DIAG_RECON_INSTALL_PATH_PROVIDER,
     28 
     29   // VersionTest
     30   DIAG_RECON_NO_VERSION,
     31   DIAG_RECON_EMPTY_VERSION,
     32 
     33   // PathTest
     34   DIAG_RECON_DEPENDENCY,
     35   DIAG_RECON_PATH_PROVIDER,
     36   DIAG_RECON_PATH_NOT_FOUND,
     37   DIAG_RECON_CANNOT_OBTAIN_SIZE,
     38   DIAG_RECON_FILE_TOO_LARGE,
     39   DIAG_RECON_NOT_WRITABLE,
     40 
     41   // DiskSpaceTest
     42   DIAG_RECON_UNABLE_TO_QUERY,
     43   DIAG_RECON_LOW_DISK_SPACE,
     44 
     45   // JSONTest
     46   DIAG_RECON_FILE_NOT_FOUND,
     47   DIAG_RECON_FILE_NOT_FOUND_OK,
     48   DIAG_RECON_CANNOT_OBTAIN_FILE_SIZE,
     49   DIAG_RECON_FILE_TOO_BIG,
     50   DIAG_RECON_UNABLE_TO_OPEN_FILE,
     51   DIAG_RECON_PARSE_ERROR,
     52 };
     53 
     54 DiagnosticsTest* MakeBookMarksTest();
     55 DiagnosticsTest* MakeConflictingDllsTest();
     56 DiagnosticsTest* MakeDictonaryDirTest();
     57 DiagnosticsTest* MakeDiskSpaceTest();
     58 DiagnosticsTest* MakeInstallTypeTest();
     59 DiagnosticsTest* MakeLocalStateFileTest();
     60 DiagnosticsTest* MakeLocalStateTest();
     61 DiagnosticsTest* MakeOperatingSystemTest();
     62 DiagnosticsTest* MakePreferencesTest();
     63 DiagnosticsTest* MakeResourcesFileTest();
     64 DiagnosticsTest* MakeUserDirTest();
     65 DiagnosticsTest* MakeVersionTest();
     66 
     67 }  // namespace diagnostics
     68 
     69 #endif  // CHROME_BROWSER_DIAGNOSTICS_RECON_DIAGNOSTICS_H_
     70