| Index: chrome/browser/chromeos/system/runtime_environment.cc
|
| diff --git a/chrome/browser/chromeos/system/runtime_environment.cc b/chrome/browser/chromeos/system/runtime_environment.cc
|
| deleted file mode 100644
|
| index e85eb8241afb3839094f68c34929e8057e7332ae..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/system/runtime_environment.cc
|
| +++ /dev/null
|
| @@ -1,26 +0,0 @@
|
| -// 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.
|
| -
|
| -#include "chrome/browser/chromeos/system/runtime_environment.h"
|
| -
|
| -#include <stdlib.h>
|
| -#include <string.h>
|
| -
|
| -#include "base/logging.h"
|
| -
|
| -namespace chromeos {
|
| -namespace system {
|
| -namespace runtime_environment {
|
| -
|
| -bool IsRunningOnChromeOS() {
|
| - // Check if the user name is chronos. Note that we don't go with
|
| - // getuid() + getpwuid_r() as it may end up reading /etc/passwd, which
|
| - // can be expensive.
|
| - const char* user = getenv("USER");
|
| - return user && strcmp(user, "chronos") == 0;
|
| -}
|
| -
|
| -} // namespace runtime_environment
|
| -} // namespace system
|
| -} // namespace chromeos
|
|
|