| Index: base/chromeos/chromeos_version.cc
|
| diff --git a/chrome/browser/chromeos/system/runtime_environment.cc b/base/chromeos/chromeos_version.cc
|
| similarity index 67%
|
| rename from chrome/browser/chromeos/system/runtime_environment.cc
|
| rename to base/chromeos/chromeos_version.cc
|
| index e85eb8241afb3839094f68c34929e8057e7332ae..4a70cd5312aad80213e9eb3cdd7c9e6ec420411b 100644
|
| --- a/chrome/browser/chromeos/system/runtime_environment.cc
|
| +++ b/base/chromeos/chromeos_version.cc
|
| @@ -1,17 +1,16 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 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 "base/chromeos/chromeos_version.h"
|
|
|
| #include <stdlib.h>
|
| #include <string.h>
|
|
|
| #include "base/logging.h"
|
|
|
| +namespace base {
|
| namespace chromeos {
|
| -namespace system {
|
| -namespace runtime_environment {
|
|
|
| bool IsRunningOnChromeOS() {
|
| // Check if the user name is chronos. Note that we don't go with
|
| @@ -21,6 +20,5 @@ bool IsRunningOnChromeOS() {
|
| return user && strcmp(user, "chronos") == 0;
|
| }
|
|
|
| -} // namespace runtime_environment
|
| -} // namespace system
|
| } // namespace chromeos
|
| +} // namespace base
|
|
|