summaryrefslogtreecommitdiffstats
path: root/chromeos/chromeos_constants.h
diff options
context:
space:
mode:
authorgspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-09 21:11:11 +0000
committergspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-09 21:11:11 +0000
commitf22fae44c1e8dadee6cf78b7a01a6465dfe33656 (patch)
tree3e50d519461cae9d53e8af9c50bfcec9a52a95aa /chromeos/chromeos_constants.h
parent9232738f3f237d64e15fe17f9830b516652f5c86 (diff)
downloadchromium_src-f22fae44c1e8dadee6cf78b7a01a6465dfe33656.zip
chromium_src-f22fae44c1e8dadee6cf78b7a01a6465dfe33656.tar.gz
chromium_src-f22fae44c1e8dadee6cf78b7a01a6465dfe33656.tar.bz2
This updates and cleans up the chrome diagnostics mode so that it includes some integrity checking for NSS databases on ChromeOS.
Added the concept of an "outcome code" that would allow individual tests to provide specific information about what the failure was. Also, removed references to wstring, and generally made error messages more consistent in style. Added two more modes (besides human-readable) for output of the results so that it could more easily be used for input to a program (--diagnostics-format=machine), and so that the output can be sent to the chrome log instead of creating/using a console at all (--diagnostics-format=log). Rearranged the code so that diagnostics mode can be run in a mode that doesn't require internationalization code to be initialized (or indeed provide any output mode), so that it could be still be run early and let chrome continue running and deliver results to the user later when more UI layers are available. Removed building of diagnostics code from the Android build. These changes are in preparation for adding a "recovery" option to attempt to recover from profile corruption on ChromeOS when we detect that chrome has crashed and restarted. TBR=cpu@chromium.org BUG=chromium:236093 Review URL: https://chromiumcodereview.appspot.com/16905002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210617 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/chromeos_constants.h')
-rw-r--r--chromeos/chromeos_constants.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chromeos/chromeos_constants.h b/chromeos/chromeos_constants.h
index ab3f2be..938ac84 100644
--- a/chromeos/chromeos_constants.h
+++ b/chromeos/chromeos_constants.h
@@ -13,6 +13,8 @@
namespace chromeos {
CHROMEOS_EXPORT extern const base::FilePath::CharType kDriveCacheDirname[];
+CHROMEOS_EXPORT extern const base::FilePath::CharType kNssCertDbPath[];
+CHROMEOS_EXPORT extern const base::FilePath::CharType kNssKeyDbPath[];
} // namespace chromeos