diff options
author | pvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-10 07:46:43 +0000 |
---|---|---|
committer | pvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-10 07:46:43 +0000 |
commit | 66700d449400266dbfc47c35e1e360efd57e4206 (patch) | |
tree | 6b9aa8447c726540bd5a90ea495eb6d12a8b5435 /base/linux_util.cc | |
parent | 62c68bee3e9ced3ba82100d04da274a0cf669f25 (diff) | |
download | chromium_src-66700d449400266dbfc47c35e1e360efd57e4206.zip chromium_src-66700d449400266dbfc47c35e1e360efd57e4206.tar.gz chromium_src-66700d449400266dbfc47c35e1e360efd57e4206.tar.bz2 |
BSD port changes for base/ (OS_POSIX/GTK instead of OS_LINUX
where applicable, missing includes, etc)
Review URL: http://codereview.chromium.org/774001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41143 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/linux_util.cc')
-rw-r--r-- | base/linux_util.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/linux_util.cc b/base/linux_util.cc index 8ac2e49..14c355e 100644 --- a/base/linux_util.cc +++ b/base/linux_util.cc @@ -201,7 +201,7 @@ FilePath GetHomeDir(EnvironmentVariableGetter* env) { std::string GetLinuxDistro() { #if defined(OS_CHROMEOS) return linux_distro; -#else // if defined(OS_LINUX) +#elif defined(OS_LINUX) LinuxDistroHelper* distro_state_singleton = LinuxDistroHelper::Get(); LinuxDistroState state = distro_state_singleton->State(); if (STATE_DID_NOT_CHECK == state) { @@ -231,6 +231,8 @@ std::string GetLinuxDistro() { // In STATE_CHECK_FINISHED, no more writing to |linux_distro|. return linux_distro; } +#else + NOTIMPLEMENTED(); #endif } |