diff options
author | pvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-09 19:52:16 +0000 |
---|---|---|
committer | pvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-09 19:52:16 +0000 |
commit | 753efc479384c254e263fd11390846a060fa6ce0 (patch) | |
tree | 488097f0622c5d744059f3c2ada4894b683c5305 /chrome/browser/diagnostics | |
parent | 5e4d24d67febed160e2020f5c8f13d8073921fc4 (diff) | |
download | chromium_src-753efc479384c254e263fd11390846a060fa6ce0.zip chromium_src-753efc479384c254e263fd11390846a060fa6ce0.tar.gz chromium_src-753efc479384c254e263fd11390846a060fa6ce0.tar.bz2 |
BSD ifdefs, etc. necessary for chrome/
Review URL: http://codereview.chromium.org/656009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/diagnostics')
-rw-r--r-- | chrome/browser/diagnostics/diagnostics_model.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/diagnostics/diagnostics_model.cc b/chrome/browser/diagnostics/diagnostics_model.cc index aa66015..0fb53fc 100644 --- a/chrome/browser/diagnostics/diagnostics_model.cc +++ b/chrome/browser/diagnostics/diagnostics_model.cc @@ -108,10 +108,10 @@ class DiagnosticsModelMac : public DiagnosticsModelImpl { DISALLOW_COPY_AND_ASSIGN(DiagnosticsModelMac); }; -#elif defined(OS_LINUX) -class DiagnosticsModelLinux : public DiagnosticsModelImpl { +#elif defined(OS_POSIX) +class DiagnosticsModelPosix : public DiagnosticsModelImpl { public: - DiagnosticsModelLinux() { + DiagnosticsModelPosix() { tests_.push_back(MakeInstallTypeTest()); tests_.push_back(MakeUserDirTest()); tests_.push_back(MakeLocalStateFileTest()); @@ -121,7 +121,7 @@ class DiagnosticsModelLinux : public DiagnosticsModelImpl { } private: - DISALLOW_COPY_AND_ASSIGN(DiagnosticsModelLinux); + DISALLOW_COPY_AND_ASSIGN(DiagnosticsModelPosix); }; #endif @@ -133,7 +133,7 @@ DiagnosticsModel* MakeDiagnosticsModel() { return new DiagnosticsModelWin(); #elif defined(OS_MACOSX) return new DiagnosticsModelMac(); -#elif defined(OS_LINUX) - return new DiagnosticsModelLinux(); +#elif defined(OS_POSIX) + return new DiagnosticsModelPosix(); #endif } |